Sample BAT file
Excerpt from the perl script that creates the BAT file
open (BAT, "> $rootdir/$remsys/86/$login/LOC.BAT")
|| &killme("Can't open $remdir/$login/LOC.BAT: $!\n");
print BAT "cd $remdirdos\\$login \n";
print BAT "$loc_path $remdirdos\\$login\\$basename > err 2> out \n";
Actual BAT file the runs on the PC
call c:\msvc\bin\msvcvars.bat
c:\msvc\bin\cl.exe /nologo /G1 /c /W3 /ALu /Gs /Zi /Od /Fdap_pqip.pdb /Zp1
DVRTX /DMSVC c:\86\sfahey\ap_pqip.cpp > err 2> out