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

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