home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / blue2sal.zip / SAL2BLU3.CMD < prev    next >
OS/2 REXX Batch file  |  1993-07-30  |  3KB  |  71 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, SAL2BLU3 A: C:)                             *
  14. echo *********************************************************************
  15. goto end
  16.  
  17. :around
  18.  
  19. echo *********************************************************************
  20. echo *   Conversion using Blue 3.5 diskettes                             *
  21. echo *********************************************************************
  22. ATTRIB %2\OS2\UNPAC*.* -r
  23. ATTRIB %2\OS2\INSTALL\BLISTLAY.OUT -r
  24. echo *********************************************************************
  25. echo * Insert IBM Operating System/2 Installation Diskette into drive %1 *
  26. echo * then press enter                                                  *
  27. echo *********************************************************************
  28. pause
  29. COPY %1BLISTLAY.OUT %2\OS2\INSTALL
  30.  
  31. echo *********************************************************************
  32. echo * Insert IBM Operating System/2 Diskette 2 into drive %1            *
  33. echo * then press enter                                                  *
  34. echo *********************************************************************
  35. pause
  36. COPY %1UNPACK*.* %2\OS2
  37.  
  38. echo *********************************************************************
  39. echo * Insert IBM Operating System/2 Diskette 4 into drive %1            *
  40. echo * then press enter                                                  *
  41. echo *********************************************************************
  42. pause
  43. UNPACK %1BUNDLE %2\OS2\INSTALL\ /N:INSTALL.EXE
  44.  
  45. echo *********************************************************************
  46. echo * Insert IBM Operating System/2 Diskette 14 into drive %1           *
  47. echo * then press enter                                                  *
  48. echo *********************************************************************
  49. pause
  50. UNPACK %1WINBASE %2\OS2\ /N:PMCONTRL.INF
  51. echo *********************************************************************
  52. echo * Insert IBM Operating System/2 Diskette 16 into drive %1           *
  53. echo *then press enter                                                   *
  54. echo *********************************************************************
  55. pause
  56. UNPACK %1WINENV %2\OS2\MDOS\WINOS2\SYSTEM\ /N:CONTROL.INF
  57. UNPACK %1WINENV %2\OS2\MDOS\WINOS2\SYSTEM\ /N:LZEXPAND.DLL
  58. echo *********************************************************************
  59. echo * Insert IBM Operating System/2 Printer Diskette 1 into drive %1    *
  60. echo * then press enter                                                  *
  61. echo *********************************************************************
  62. pause
  63. COPY %1PRDRV.LST %2\OS2\INSTALL\
  64. s_to_b  %2
  65. echo Conversion is complete.
  66. echo Shutdown and reboot.
  67. pause
  68.  
  69. :end
  70.  
  71.