home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
lan
/
bpt510.arj
/
PATCHWIN.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-02-07
|
1KB
|
72 lines
echo off
CLS
echo *** MAKE SURE THAT YOU USE THE ORIGINAL (UNPATCHED) RELEASED VERSION
echo OF THE PRODUCT YOU ARE PATCHING. PATCHING AN ALREADY PATCHED COPY
echo MAY CAUSE UNPREDICTABLE ERRORS.
echo
echo
IF %1! == ! GOTO PARAM
IF %1 == BTRTOOLS GOTO BTRTOOLS
IF %1 == btrtools GOTO BTRTOOLS
IF %1 == WINDOWS GOTO WINDOWS
IF %1 == windows GOTO WINDOWS
GOTO PARAM
::
:BTRTOOLS
IF NOT EXIST WTOOLPAT.510 GOTO TOOLERRP
IF NOT EXIST BTRTOOLS.EXE GOTO TOOLERR
echo
echo BTRTOOLS.EXE VERSION 5.10 ** PATCHING .............
echo
REN BTRTOOLS.EXE BTRTOOLS
DEBUG BTRTOOLS <WTOOLPAT.510 >TEMP
REN BTRTOOLS BTRTOOLS.EXE
GOTO FIXDONE
::
:WINDOWS
IF NOT EXIST BPATWIN.510 GOTO WINERRP
IF NOT EXIST WBTRCALL.DLL GOTO WINERR
echo
echo WBTRCALL.DLL VERSION 5.10 ** PATCHING .............
echo
DEBUG WBTRCALL.DLL <BPATWIN.510 >TEMP
GOTO FIXDONE
::
:TOOLERRP
echo
echo CANNOT FIND WTOOLPAT.510
GOTO END
::
:TOOLERR
echo
echo CANNOT FIND BTRTOOLS.EXE
GOTO END
::
:WINERRP
echo
echo CANNOT FIND BPATWIN.510
GOTO END
::
:WINERR
echo
echo CANNOT FIND WBTRCALL.DLL
GOTO END
::
:PARAM
echo
echo THE FORMAT IS:
echo
echo PATCHWIN filename
echo
echo WHERE filename IS: BTRTOOLS
echo WINDOWS
echo
GOTO END
::
:FIXDONE
echo
echo BTRIEVE PRODUCT FOR WINDOWS VERSION 5.10 ** PATCHING COMPLETE **
echo
::
:END