@echo off if "%1"=="" goto usage if exist %1 goto usage if exist *.tmp del *.tmp bcc32 -Vs -K -S -3 -c -I%qlib%\h %2 %3 %4 %5 %6 %7 %8 %9 %1.cpp goto done :usage echo Usage : BCPP2ASM file [...] echo file - file to compile to ASM (do not give .CPP extension) echo [...] - options to give to BC :done if exist *.tmp del *.tmp :end