home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / blue2sal.zip / BLU2SAL5.CMD < prev    next >
OS/2 REXX Batch file  |  1993-07-30  |  3KB  |  74 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, BLU2SAL5 A: C:)                             *
  14. echo *********************************************************************
  15. goto end
  16.  
  17. :around
  18. echo *********************************************************************
  19. echo *   Conversion using Salmon 5.25 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 4 into drive %1            *
  39. echo * then press enter                                                  *
  40. echo *********************************************************************
  41. pause
  42. UNPACK %1BUNDLE %2\OS2\INSTALL\ /N:INSTALL.EXE
  43. echo *********************************************************************
  44. echo * Insert IBM Operating System/2 Diskette 15 into drive %1           *
  45. echo * then press enter                                                  *
  46. echo *********************************************************************
  47.  
  48. echo then press enter
  49. pause
  50. UNPACK %1WINBASE %2\OS2\ /N:PMCONTRL.INF
  51.  
  52. echo *********************************************************************
  53. echo * Insert IBM Operating System/2 Diskette 16 into drive %1           *
  54. echo * then press enter                                                  *
  55. echo *********************************************************************
  56. pause
  57.  
  58. UNPACK %1WINENV %2\OS2\MDOS\WINOS2\SYSTEM\ /N:CONTROL.INF
  59. UNPACK %1WINENV %2\OS2\MDOS\WINOS2\SYSTEM\ /N:LZEXPAND.DLL
  60.  
  61. echo *********************************************************************
  62. echo * Insert IBM Operating System/2 Printer Diskette 1 into drive %1    *
  63. echo * then press enter                                                  *
  64. echo *********************************************************************
  65. pause
  66. COPY %1PRDRV.LST %2\OS2\INSTALL
  67.  
  68. atb_to_s %2
  69. echo Conversion is complete.
  70. echo Shutdown and reboot.
  71. pause
  72.  
  73. :end
  74.