home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 29 Fixes_o
/
29-Fixes_o.zip
/
prgcsd.exe
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1992-12-10
|
2KB
|
59 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.pem -r'
copy 'A:syslevel.pem' BASE'\syslevel.pem'
attrib BASE'\syslevel.pem +r'
copy 'A:types.h' BASE'\include\types.h'
copy 'A:tcpip.lib' BASE'\lib\tcpip.lib'
copy 'A:tcpipmt.lib' BASE'\lib\tcpipmt.lib'
copy 'A:ioctl.h' BASE'\include\sys\ioctl.h'
copy 'A:socket.h' BASE'\include\sys\socket.h'
copy 'A:select.h' BASE'\include\sys\select.h'
copy 'A:readh32.me' BASE'\include\readh32.me'
copy 'A:ftpapi.h' BASE'\include\ftpapi.h'
copy 'A:netdb.h' BASE'\include\netdb.h'
copy 'A:netlib.h' BASE'\include\netlib.h'
copy 'A:resolv.h' BASE'\include\resolv.h'
copy 'A:utils.h' BASE'\include\utils.h'
copy 'A:nameser.h' BASE'\include\arpa\nameser.h'
copy 'A:in.h' BASE'\include\netinet\in.h'
copy 'A:auth.h' BASE'\include\rpc\auth.h'
copy 'A:auth_uni.h' BASE'\include\rpc\auth_uni.h'
copy 'A:clnt.h' BASE'\include\rpc\clnt.h'
copy 'A:pmap_cln.h' BASE'\include\rpc\pmap_cln.h'
copy 'A:pmap_pro.h' BASE'\include\rpc\pmap_pro.h'
copy 'A:rpc.h' BASE'\include\rpc\rpc.h'
copy 'A:rpctypes.h' BASE'\include\rpc\rpctypes.h'
copy 'A:rpc_msg.h' BASE'\include\rpc\rpc_msg.h'
copy 'A:svc.h' BASE'\include\rpc\svc.h'
copy 'A:svc_auth.h' BASE'\include\rpc\svc_auth.h'
copy 'A:xdr.h' BASE'\include\rpc\xdr.h'
copy 'A:fapidll.lib' BASE'\lib\fapidll.lib'
copy 'A:dpisampl.c' BASE'\include\rpc\dpisampl.c'
copy 'A:snmp_dpi.h' BASE'\include\rpc\snmp_dpi.h'
copy 'A:fapidll.dll' BASE'\dll\fapidll.dll'
copy 'A:dpi.lib' BASE'\lib\dpi.lib'
REM DOC file
copy 'A:progcsd.doc' BASE'\doc\progcsd.doc'