I am trying to write a batch file, which will load a session and produce a difference report between to directories.
This batch file, will use an infile and the /silent option
Please can someone just clarify the DOS Error handling for me as I can get an errorlevel "9009" if I have an unknown command in the infile, however when I create a "Fatal Scripting Error: Unable to load base folder" error - the DOS Errorlevel is "0".
The reason I need to confirm the successfull completion is so that I can automate the task using a scheduler tool and want additional actions to be performed based on the completion status.
Any assistance would be greatly appriciated - thanks
This batch file, will use an infile and the /silent option
Please can someone just clarify the DOS Error handling for me as I can get an errorlevel "9009" if I have an unknown command in the infile, however when I create a "Fatal Scripting Error: Unable to load base folder" error - the DOS Errorlevel is "0".
The reason I need to confirm the successfull completion is so that I can automate the task using a scheduler tool and want additional actions to be performed based on the completion status.
Any assistance would be greatly appriciated - thanks
Comment