@echo off echo. echo **** Compilando %1... %3\dcc32.exe -Q -B -W -H -$D-,L-,Y- -N%5 -LE%6 -LN%5 -U%4;%5;%7 -R%5 %1 if not errorlevel 0 goto ERROR goto END :ERROR echo Error! pause :END REM ********************************************* REM 0: Current directory name REM 1: File name to compile without directory or extension REM 2: File extension incl dot REM 3: Build tools directory REM 4: Borland library directory (.dcu, .dcp, .dfm, and .res files) REM 5: Unit destination directory (target for package .dcu, .dcp and .res files) REM 6: Package destination directory (target for .bpl files) REM 7: Source directory (.pas and .dcu)