home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 29 Fixes_o / 29-Fixes_o.zip / cidfix20.zip / CSDPREP.CMD next >
OS/2 REXX Batch file  |  1993-10-27  |  2KB  |  44 lines

  1. REM ============   CSDPREP.CMD   ==================================== */
  2. REM %3 = $(SA)\CSD\XR06100 -- x:\csd\os2v20\csd02                         */
  3. REM %4 = $(SB)\LOG\CSD\XR06100\$(WorkStatName).L1 -- z:\csd\log\os2v20\'client'.log */
  4. REM * ready the SHR files in the root directory for update                           */
  5. %1\OS2\attrib %4 -h -s -r
  6. %1\OS2\attrib %1\os2boot -h -s -r  >> %4
  7. %1\os2\attrib %1\os2ldr -h -s -r  >> %4
  8. %1\os2\attrib %1\os2krnl -h -s -r  >> %4
  9. REM ** preserve a backup copy of current config file */
  10. copy %1\config.sys %1\config.sp2  >> %4
  11. REM ** assure that the new unpack utility is in the working environment */
  12. copy %3\unpack2.exe %2  >> %4
  13. REM ** assure core system files are present in the boot service partition*/
  14. %2\unpack2 %3\fix\os2\unpack.ex_ %2  >> %4
  15. %2\unpack2 %3\fix\os2\uhpfs.dl_ %2  >> %4
  16. %2\unpack2 %3\fix\os2\shpiinst.dl_ %2  >> %4
  17. %2\unpack2 %3\fix\os2\chkdsk.co_ %2  >> %4
  18. %2\unpack2 %3\fix\os2\os2ldr.___ %2  >> %4
  19. %2\unpack2 %3\fix\os2\os2ldr.ms_ %2  >> %4
  20. %2\unpack2 %3\fix\os2\os2scsi.dm_ %2  >> %4
  21. REM ** update other utility software as required */
  22. %1\os2\replace %3\*.* %2  >> %4
  23. REM ** place hardware specific files in root of boot drive */
  24. copy %3\*.bio %1\  >> %4
  25. copy %3\*.sys %1\  >> %4
  26. copy %3\*.add %1\  >> %4
  27. copy %3\*.dmd %1\  >> %4
  28. copy %3\*.i13 %1\  >> %4
  29. REM **Update the core system files in root sub-directory */
  30. copy %2\os2krnli %1\os2krnl  >> %4
  31. copy %2\os2ldr.* %1\os2ldr.*  >> %4
  32. copy %2\os2boot %1\os2boot  >> %4
  33. REM ** assure latest display drive is available */
  34. %2\unpack %3\vga %2 /n:bvhvga.dll  >> %4
  35. REM ** restore config file */
  36. copy %1\config.sp2 %1\config.sys  >> %4
  37. REM ** install OS/2 boot record */
  38. %2\sysinstx.com %1   >> %4
  39. REM ** return updated files to hidden state */
  40. %1\os2\attrib %1\os2boot +h +s +r  >> %4
  41. %1\os2\attrib %1\os2ldr +h +s +r   >> %4
  42. %1\os2\attrib %1\os2krnl +h +s +r  >> %4
  43. REM ** end of the batch file **/
  44.