home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
patches
/
tcpip121
/
x25
/
x25csd.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1992-09-14
|
891b
|
34 lines
/* Install X25 CSD files */
/* Check where to install (from SET ETC statement) */
ENV = 'OS2ENVIRONMENT'
ETC = VALUE('ETC',,ENV)
if ETC = '' then
do
say ""
say "WARNING!"
say "You do NOT have the environment variable ETC defined!"
say "You should have already installed the OS/2 TCP/IP 1.2.1 refresh"
say "CSD installation will not continue."
say ""
exit 1
end
BASE=filespec("drive",ETC)||filespec("path",ETC)
if substr(BASE, length(BASE), 1) = '\' then
BASE = substr(BASE, 1, length(BASE) - 1)
/* REM BIN files */
attrib BASE'\syslevel.x25 -r'
copy 'syslevel.x25' BASE'\syslevel.x25'
attrib BASE'\syslevel.x25 +r'
copy 'x25io.exe' BASE'\bin\x25io.exe'
copy 'xiowait.exe' BASE'\bin\xiowait.exe'
/* Copy the configuration files */
copy 'x25es1.cfg' BASE'\etc\x25es1.cfg'
copy 'x25es2.cfg' BASE'\etc\x25es2.cfg'