home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 30 fixes_v
/
30-fixes_v.zip
/
bppatchr.zip
/
install.bat
next >
Wrap
DOS Batch File
|
1993-10-27
|
1KB
|
47 lines
rem Batch file to install patches and
rem RTL files for using Borland Pascal
rem to compile OS/2 1.x executables.
rem Compile patch program
bpc patchbp.pas
rem Call batch file to perform patch.
rem If you have a \bp\bin\bp.rez file, then
rem change newpatch.bat to patch.bat below.
call newpatch.bat
rem Copy newly patched file to \bp\bin
rem add a line to copy bp.rez to \bp\bin
rem if you used patch.bat instead of
rem newpatch.bat above.
copy bpcos2.exe \bp\bin
copy bpos2.exe \bp\bin
rem Install RTL files
copy os2rtl\os2.tpl \bp\bin
copy os2rtl\sys\system.tpw \bp\units\system.tpo
rem Compile units for use with OS/2 programs.
bpcos2 -CO -T\bp\bin compatib.pas
bpcos2 -CO -T\bp\bin dos.pas
bpcos2 -CO -T\bp\bin crt.pas
rem Install OS/2 units in \bp\units.
copy compatib.tpo \bp\units
copy dos.tpo \bp\units
copy crt.tpo \bp\units
rem Cleanup
del *.exe
del *.tpo
rem Save runtime source (delete if you don't want runtime source)
xcopy os2rtl \bp\os2rtl /s /e