home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 the Most Complete Collection
/
OS2_The_Most_Complete_Collection_Powersource.iso
/
protocol
/
nfscsd1.exe
/
INSTALL.CMD
next >
Wrap
OS/2 REXX Batch file
|
1992-12-15
|
864b
|
33 lines
/* Install NFSCSD 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.nfs -r'
copy 'A:syslevel.nfs' BASE'\syslevel.nfs'
attrib BASE'\syslevel.nfs +r'
copy 'A:nfsctl.exe' BASE'\bin\nfsctl.exe'
copy 'A:nfsd.exe' BASE'\bin\nfsd.exe'
copy 'A:ln.exe' BASE'\bin\ln.exe'
REM DOC file
copy 'A:nfscsd.doc' BASE'\doc\nfscsd.doc'