Place Log File Anywhere

Category: Debug

Date: 02-16-2022

Return to Index


 
'Credit Mike Doty
'Place log anywhere, show log only if error
'Run if no error
 
'easy.bat
@cls
@echo off
REM
cd \junk
REM
erase exe /Q
REM
cd \junk\exe
\PBWin10\bin\pbwin.exe /Q /L "\CC4\My_Cabinets\My_Cabinets"
REM
cd \junk
if not exist exe\My_Cabinets.exe goto error
exe\My_Cabinets.exe
Echo Last compile was successful
goto end
:error
REM
Echo ****  Compile Error ****
type exe\My_Cabinets.log
:end
 
'gbs_00831
'Date: 03-10-2012


created by gbSnippets
http://www.garybeene.com/sw/gbsnippets.htm