@echo off : --------------------------------------------------------------------- : WARNING WARNING WARNING WARNING WARNING WARNING : : Please read the help before using this batch file as there are : some special parameters : : --------------------------------------------------------------------- SET BCBDIR=%1 if %BCBDIR%!==! SET BCBDIR=C:\Program Files\CBuilder5 MakeBCB "C5 Packages" c5 "%BCBDIR%" %2 %3 SET BCBDIR= goto end :help echo MakeC5.bat - Builds the JVCL for C++ Builder 5 echo. echo Usage: MakeBCB5 [BCBDirectory] [LIBDirectory] [BPLDirectory] echo. echo BCBDirectory The place where BCB5 is installed. echo Defaults to "C:\Program Files\CBuilder5" echo LIBDirectory The place where to put the BPI and LIB files. echo Defaults to $(BCB)\Projects\Lib echo You MUST ensure that this directory is in the echo PATH environment variable echo BPLDirectory The place where to put the BPL and TDS files. echo Defaults to $(BCB)\Projects\Bpl echo. echo Any additional argument will be ignored, BCB MUST be closed echo. :end