home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / blue2sal.zip / SAL2BLU5.CMD < prev   
OS/2 REXX Batch file  |  1993-07-30  |  3KB  |  70 lines

  1. @echo off
  2. cls
  3.  
  4.  
  5. if "%1" == "" goto start
  6. if "%2" == "" goto start
  7. goto around
  8.  
  9. :start
  10. echo *********************************************************************
  11. echo * Please start this CMD file again passing the source diskette drive*
  12. echo * as the first parameter and the target OS/2 partition as the       *
  13. echo * second. (For example, SAL2BLU5 A: C:)                             *
  14. echo *********************************************************************
  15. goto end
  16.  
  17. :around
  18. echo *********************************************************************
  19. echo *   Conversion using Blue 3.5 diskettes                             *
  20. echo *********************************************************************
  21. ATTRIB %2\OS2\UNPAC*.* -r
  22. ATTRIB %2\OS2\INSTALL\BLISTLAY.OUT -r
  23. echo *********************************************************************
  24. echo * Insert IBM Operating System/2 Installation Diskette into drive %1 *
  25. echo * then press enter                                                  *
  26. echo *********************************************************************
  27. pause
  28. COPY %1BLISTLAY.OUT %2\OS2\INSTALL
  29.  
  30. echo *********************************************************************
  31. echo * Insert IBM Operating System/2 Diskette 2 into drive %1            *
  32. echo * then press enter                                                  *
  33. echo *********************************************************************
  34. pause
  35. COPY %1UNPACK*.* %2\OS2
  36.  
  37. echo *********************************************************************
  38. echo * Insert IBM Operating System/2 Diskette 5 into drive %1            *
  39. echo * then press enter                                                  *
  40. echo *********************************************************************
  41. pause
  42. UNPACK %1BUNDLE %2\OS2\INSTALL\ /N:INSTALL.EXE
  43.  
  44. echo *********************************************************************
  45. echo * Insert IBM Operating System/2 Diskette  8 into drive %1           *
  46. echo * then press enter                                                  *
  47. echo *********************************************************************
  48. pause
  49. UNPACK %1WINBASE %2\OS2\ /N:PMCONTRL.INF
  50. echo *********************************************************************
  51. echo * Insert IBM Operating System/2 Diskette 15 into drive %1           *
  52. echo *then press enter                                                   *
  53. echo *********************************************************************
  54. pause
  55. UNPACK %1WINENV %2\OS2\MDOS\WINOS2\SYSTEM\ /N:CONTROL.INF
  56. UNPACK %1WINENV %2\OS2\MDOS\WINOS2\SYSTEM\ /N:LZEXPAND.DLL
  57. echo *********************************************************************
  58. echo * Insert IBM Operating System/2 Printer Diskette 1 into drive %1    *
  59. echo * then press enter                                                  *
  60. echo *********************************************************************
  61. pause
  62. COPY %1PRDRV.LST %2\OS2\INSTALL\
  63. ats_to_b %2
  64. echo Conversion is complete.
  65. echo Shutdown and reboot.
  66.  
  67. pause
  68.  
  69. :end
  70.