View Single Post
Old 07-31-2014, 07:27 AM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,758
Make sure that the batch file is exiting with a non-zero exit code when the PowerShell script fails, and use the Batch File action in Visual Build to call it, or include the call statement (i.e., %DOSCMD% call batchfile.bat) when running the batch file if calling directly (otherwise the exit code may not be returned to Visual Build).
Reply With Quote