Make sure that there are no "echo off" expressions in the scripts and that "echo on" is called after calling each script to reset any missing one.
The reason is that if echo stays on, then the command interpreter prints each command (after processing the parameters) before executing it. This makes it very bad for production use, but very useful for debugging purposes, as you can see where the result went wrong.
Also, make sure that you check the ErrorLevels parameters specified by the called batch scripts and programs. Remember that there are two different methods used in .bat files for this. If you called the program, the error level is in% ERRORLEVEL%, while from batch files the error level is returned in the ErrorLevel variable and does not need% around it.
workmad3 Oct 03 '08 at 6:52 2008-10-03 06:52
source share