community.borland.com

Article #29538: Batch file to add the InterBase 7 patch

@echo off
cls
if not "%1." == "." goto patch
echo To install this InterBase 7 server patch, replace
echo the "c:BorlandInterBasebin" shown below with the location of
echo the "bin" directory for your InterBase 7 installation
echo Patch command syntax:
echo   ibpatch c:BorlandInterBasebin
goto quit
:patch
echo Stopping the InterBase server ...
%1instsvc stop
echo Ready to update %1ibserver.exe
echo (You may want to wait a few seconds to make sure the server
echo is stopped.)
pause
copy ibserver.exe %1ibserver.exe
echo Restarting the InterBase server
%1instsvc start
:quit

Last Modified: 17-JAN-03