home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 29 Fixes_o
/
29-Fixes_o.zip
/
cidfix20.zip
/
CSDPREP.CMD
next >
Wrap
OS/2 REXX Batch file
|
1993-10-27
|
2KB
|
44 lines
REM ============ CSDPREP.CMD ==================================== */
REM %3 = $(SA)\CSD\XR06100 -- x:\csd\os2v20\csd02 */
REM %4 = $(SB)\LOG\CSD\XR06100\$(WorkStatName).L1 -- z:\csd\log\os2v20\'client'.log */
REM * ready the SHR files in the root directory for update */
%1\OS2\attrib %4 -h -s -r
%1\OS2\attrib %1\os2boot -h -s -r >> %4
%1\os2\attrib %1\os2ldr -h -s -r >> %4
%1\os2\attrib %1\os2krnl -h -s -r >> %4
REM ** preserve a backup copy of current config file */
copy %1\config.sys %1\config.sp2 >> %4
REM ** assure that the new unpack utility is in the working environment */
copy %3\unpack2.exe %2 >> %4
REM ** assure core system files are present in the boot service partition*/
%2\unpack2 %3\fix\os2\unpack.ex_ %2 >> %4
%2\unpack2 %3\fix\os2\uhpfs.dl_ %2 >> %4
%2\unpack2 %3\fix\os2\shpiinst.dl_ %2 >> %4
%2\unpack2 %3\fix\os2\chkdsk.co_ %2 >> %4
%2\unpack2 %3\fix\os2\os2ldr.___ %2 >> %4
%2\unpack2 %3\fix\os2\os2ldr.ms_ %2 >> %4
%2\unpack2 %3\fix\os2\os2scsi.dm_ %2 >> %4
REM ** update other utility software as required */
%1\os2\replace %3\*.* %2 >> %4
REM ** place hardware specific files in root of boot drive */
copy %3\*.bio %1\ >> %4
copy %3\*.sys %1\ >> %4
copy %3\*.add %1\ >> %4
copy %3\*.dmd %1\ >> %4
copy %3\*.i13 %1\ >> %4
REM **Update the core system files in root sub-directory */
copy %2\os2krnli %1\os2krnl >> %4
copy %2\os2ldr.* %1\os2ldr.* >> %4
copy %2\os2boot %1\os2boot >> %4
REM ** assure latest display drive is available */
%2\unpack %3\vga %2 /n:bvhvga.dll >> %4
REM ** restore config file */
copy %1\config.sp2 %1\config.sys >> %4
REM ** install OS/2 boot record */
%2\sysinstx.com %1 >> %4
REM ** return updated files to hidden state */
%1\os2\attrib %1\os2boot +h +s +r >> %4
%1\os2\attrib %1\os2ldr +h +s +r >> %4
%1\os2\attrib %1\os2krnl +h +s +r >> %4
REM ** end of the batch file **/