Please help me out

June 20, 2013 at 07:26:39
Specs: Windows XP
I really appreciate your help!
For the 1st script Let say there are n number of batch xml files that needs to be executed by the bat script and shedule these xml by windows task scheduler(daily monthly weekly) .How do i go about designing a script that will do the following:
1. executing a list of n nuber of files to run from that folder.
2. Do I need to pass any kind of parameters or set up any variables
3. If the execution is successful the next file in the order is executed automatically and so on and goes to script\success.log file .If it is failed it should goes to script\Failed.log file
how the error handling can be done to this script
Please help me out

Do i put the above inside a function and pass the files as arguments or do i go with loops. Please help me out , i'd be extremely grateful. Thanks in advance

See More: Please help me out

Report •

December 1, 2013 at 11:58:42
for /f %%G IN (c:\file.txt) DO start %%G
::file.txt being the list of files.


Report •
Related Solutions

Ask Question