home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
PMBOOT.ZIP
/
PMBOOT.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1991-06-26
|
4KB
|
87 lines
/* PMBOOT.CMD Version 1.00, 26-Jun-1991 */
/* By: Phil Spencer CompuServe: 100014,104 */
say
say "OS/2 boot disk creator"
say
say "By: Phil Spencer CompuServe: 100014,104"
say
say "This program creates a boot diskette that will boot PM using the"
say "files already on hard disk. You should read the README file that"
say "accompanies this command file before continuing."
say
say "Please place a have a blank, high density, formatted diskette in"
say "drive a: and ensure that SYSINSTX.COM and KOPY.EXE are on the path"
say
say "SYSINSTX.COM can be copied from your OS/2 installation diskette"
say "KOPY.EXE should have been distributed with this command file"
say
'pause'
say "Preparing Diskette"
call setlocal
'c:'
'cd \'
'sysinstx a:'
call endlocal
say
say "Creating directories"
say
'md a:\os2'
'md a:\os2\dll'
'md a:\os2\system'
say
say "Copying files. Note that the '*' wildcard is needed where shown"
say "because because these filenames will differ from system to system"
say
'for %%a in (c:\*.bio) do kopy %%a a:\'
'for %%a in (c:\basedd*.sys) do kopy %%a a:\'
'for %%a in (c:\disk*.sys) do kopy %%a a:\'
'kopy c:\abios.sys a:\'
'kopy c:\config.sys a:\'
'kopy c:\autoexec.bat a:\'
'kopy c:\os2\cmd.exe a:\os2'
'kopy c:\os2\hpfs.ifs a:\os2'
'kopy c:\os2\keyboard.dcp a:\os2'
'kopy c:\os2\viotbl.dcp a:\os2'
'kopy c:\os2\dll\ansicall.dll a:\os2\dll'
'kopy c:\os2\dll\bkscalls.dll a:\os2\dll'
'kopy c:\os2\dll\bvhinit.dll a:\os2\dll'
'kopy c:\os2\dll\bvscalls.dll a:\os2\dll'
'kopy c:\os2\dll\doscall1.dll a:\os2\dll'
'kopy c:\os2\dll\kbdcalls.dll a:\os2\dll'
'kopy c:\os2\dll\moucalls.dll a:\os2\dll'
'kopy c:\os2\dll\msg.dll a:\os2\dll'
'kopy c:\os2\dll\nls.dll a:\os2\dll'
'kopy c:\os2\dll\quecalls.dll a:\os2\dll'
'kopy c:\os2\dll\sesmgr.dll a:\os2\dll'
'kopy c:\os2\dll\viocalls.dll a:\os2\dll'
'kopy c:\os2\system\country.sys a:\os2\system'
'kopy c:\os2\system\harderr.exe a:\os2\system'
'kopy c:\os2\system\oso001.msg a:\os2\system'
say
say "Files copied: "
say
say "To create a PM boot diskette you should now edit A:\CONFIG.SYS."
say "In particular you should edit the following lines (if they "
say "exist) with the indicated changes: "
say
say " IFS=A:\OS2\HPFS.IFS... "
say " LIBPATH=a:\os2\dll;c:\os2\dll... "
say " PATH=a:\;a:\os2;a:\os2\system;c:\os2... "
say " DPATH=a:\;a:\os2;a:\os2\system;c:\os2... "
say " COUNTRY=...,a:\os2\system\country.sys "
say " DEVINFO=SCR,...,a:\os2\viotbl.dcp "
say " DEVINFO=KBD,...,a:\os2\keyboard.dcp "
say
say "To create a minimum standalone boot diskette you should copy "
say "PS_SHELL.EXE to A:\OS2 and copy CONFIG.SA to A:\CONFIG.SYS. "
say