home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / patches / tcpip121 / prog / progcsd.cmd < prev    next >
Encoding:
Text File  |  1992-07-08  |  921 b   |  34 lines

  1. /* Install NFSCSD files */
  2.  
  3. /* Check where to install (from SET ETC statement) */
  4. ENV = 'OS2ENVIRONMENT'
  5. ETC = VALUE('ETC',,ENV)
  6. if ETC = '' then
  7.     do
  8.     say ""
  9.     say "WARNING!"
  10.     say "You do NOT have the environment variable ETC defined!"
  11.     say "You should have already installed the OS/2 TCP/IP 1.2.1 refresh"
  12.     say "CSD installation will not continue."
  13.     say ""
  14.     exit 1
  15.     end
  16.  
  17. BASE=filespec("drive",ETC)||filespec("path",ETC)
  18. if substr(BASE, length(BASE), 1) = '\' then
  19.     BASE = substr(BASE, 1, length(BASE) - 1)
  20.  
  21.  
  22. /* REM BIN files */
  23. attrib BASE'\syslevel.pem -r'
  24. copy 'A:syslevel.pem' BASE'\syslevel.pem'
  25. attrib BASE'\syslevel.pem +r'
  26. copy 'A:types.h' BASE'\include\types.h'
  27. copy 'A:ioctl.h' BASE'\include\sys\ioctl.h'
  28. copy 'A:tcpip.lib' BASE'\lib\tcpip.lib'
  29. copy 'A:tcpipmt.lib' BASE'\lib\tcpipmt.lib'
  30.  
  31. REM DOC file
  32. copy 'A:progcsd.doc' BASE'\doc\progcsd.doc'
  33.  
  34.