Friday 15 January 2010

Can I call a .CMD file from a .BAT file and move on with processing? -


We are trying to create a reboot process for one of our batch servers. We have a batch file that is initially called by a scheduling program, to ensure some logs to ensure that the processing on the server is complete. We then want the batch file to be Make a CMD file call which is in charge of rebooting the server. The problem we are experiencing is calling the shutdown command, but then to move the original batch forward and exit it successfully from our scheduling program.

// Check logs and stuff c: \ serveradmintools \ shutdown. Cmd & lt; --- Call it and proceed to the exit, while it turns out 0 & lt; --- Successfully exit the scheduling program

Our shutdown program is delayed by 60 seconds so that it is possible to exit the scheduling program to give time ???

Thanks in advance!

Command launch command in another thread.

No comments:

Post a Comment