home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / PMBOOT.ZIP / PMBOOT.CMD < prev    next >
OS/2 REXX Batch file  |  1991-06-26  |  4KB  |  87 lines

  1. /* PMBOOT.CMD Version 1.00, 26-Jun-1991    */
  2. /* By: Phil Spencer CompuServe: 100014,104 */
  3.  
  4.    say
  5.    say "OS/2 boot disk creator"
  6.    say
  7.    say "By: Phil Spencer CompuServe: 100014,104"
  8.    say
  9.    say "This program creates a boot diskette that will boot PM using the"
  10.    say "files already on hard disk.  You should read the README file that"
  11.    say "accompanies this command file before continuing."
  12.    say
  13.    say "Please place a have a blank, high density, formatted diskette in"
  14.    say "drive a: and ensure that SYSINSTX.COM and KOPY.EXE are on the path"
  15.    say
  16.    say "SYSINSTX.COM can be copied from your OS/2 installation diskette"
  17.    say "KOPY.EXE should have been distributed with this command file"
  18.    say
  19.  
  20.    'pause'
  21.  
  22.    say "Preparing Diskette"
  23.  
  24.    call setlocal
  25.    'c:'
  26.    'cd \'
  27.    'sysinstx a:'
  28.    call endlocal
  29.  
  30.    say
  31.    say "Creating directories"
  32.    say
  33.  
  34.    'md a:\os2'
  35.    'md a:\os2\dll'
  36.    'md a:\os2\system'
  37.  
  38.    say
  39.    say "Copying files. Note that the '*' wildcard is needed where shown"
  40.    say "because because these filenames will differ from system to system"
  41.    say
  42.  
  43.    'for %%a in (c:\*.bio)       do kopy %%a a:\'
  44.    'for %%a in (c:\basedd*.sys) do kopy %%a a:\'
  45.    'for %%a in (c:\disk*.sys)   do kopy %%a a:\'
  46.    'kopy c:\abios.sys                       a:\'
  47.    'kopy c:\config.sys                      a:\'
  48.    'kopy c:\autoexec.bat                    a:\'
  49.    'kopy c:\os2\cmd.exe                     a:\os2'
  50.    'kopy c:\os2\hpfs.ifs                    a:\os2'
  51.    'kopy c:\os2\keyboard.dcp                a:\os2'
  52.    'kopy c:\os2\viotbl.dcp                  a:\os2'
  53.    'kopy c:\os2\dll\ansicall.dll            a:\os2\dll'
  54.    'kopy c:\os2\dll\bkscalls.dll            a:\os2\dll'
  55.    'kopy c:\os2\dll\bvhinit.dll             a:\os2\dll'
  56.    'kopy c:\os2\dll\bvscalls.dll            a:\os2\dll'
  57.    'kopy c:\os2\dll\doscall1.dll            a:\os2\dll'
  58.    'kopy c:\os2\dll\kbdcalls.dll            a:\os2\dll'
  59.    'kopy c:\os2\dll\moucalls.dll            a:\os2\dll'
  60.    'kopy c:\os2\dll\msg.dll                 a:\os2\dll'
  61.    'kopy c:\os2\dll\nls.dll                 a:\os2\dll'
  62.    'kopy c:\os2\dll\quecalls.dll            a:\os2\dll'
  63.    'kopy c:\os2\dll\sesmgr.dll              a:\os2\dll'
  64.    'kopy c:\os2\dll\viocalls.dll            a:\os2\dll'
  65.    'kopy c:\os2\system\country.sys          a:\os2\system'
  66.    'kopy c:\os2\system\harderr.exe          a:\os2\system'
  67.    'kopy c:\os2\system\oso001.msg           a:\os2\system'
  68.  
  69.    say
  70.    say "Files copied:                                                  "
  71.    say
  72.    say "To create a PM boot diskette you should now edit A:\CONFIG.SYS."
  73.    say "In particular you should edit the following lines (if they     "
  74.    say "exist) with the indicated changes:                             "
  75.    say
  76.    say "          IFS=A:\OS2\HPFS.IFS...                               "
  77.    say "      LIBPATH=a:\os2\dll;c:\os2\dll...                         "
  78.    say "         PATH=a:\;a:\os2;a:\os2\system;c:\os2...               "
  79.    say "        DPATH=a:\;a:\os2;a:\os2\system;c:\os2...               "
  80.    say "      COUNTRY=...,a:\os2\system\country.sys                    "
  81.    say "      DEVINFO=SCR,...,a:\os2\viotbl.dcp                        "
  82.    say "      DEVINFO=KBD,...,a:\os2\keyboard.dcp                      "
  83.    say
  84.    say "To create a minimum standalone boot diskette you should copy   "
  85.    say "PS_SHELL.EXE to A:\OS2 and copy CONFIG.SA to A:\CONFIG.SYS.    "
  86.    say
  87.