home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
p
/
prbgi097.zip
/
DRIVERS.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-12-15
|
601b
|
20 lines
rem usage: DRIVERS Destination_path source_path
rem This batch may be used to compile drivers.asm
rem
tasmx /ml /mx /i%2 %2drivers.asm , %1
if errorlevel 1 goto tasm_err
tlink %1drivers.obj
exe2bin %1drivers.exe %1printers.def
del %1drivers.exe
del %1drivers.obj
tasmx /ml /mx /DWithCode=1 /i%2 %2drivers.asm , %1
if errorlevel 1 goto tasm_err
if exist %1pdrivers.pa$ rename pdrivers.pa$ *.pas
if exist %1pdrivers.pas tpc pdrivers.pas
if exist %1prtgraph.lib tlib %1prtgraph.lib -+%1drivers.obj
goto OK_end
:tasm_err
echo -----------> tasm error <-----------------
exit
:OK_end