Need to know the status of BAT file execution
Posted: 07 Jul 2010 06:56
Hi,
I have a batch file which executes the command(for eg:- CVS update). My question is as follow
1. How to know that CVS update command in bat file is executed successfully.
2. After successful execution only - it need to execute the next line.
3. Whether success OR failure a log file need to be created in specified path.
4. In that log path i need to write details like 'date/time and result of my batch command"
5. I call this batch file from a utility, In that utility i have several batch files waiting to be executed subsequently. After the successful execution of batch1 - It then need to execute the next batch2. Batch1 may take some time, Till then batch2 should wait and then after completion of batch1 it should execute batch2.
Please help in this queries... I have googled and found nil result relate to my issue.
Thanks
Paulwintech
I have a batch file which executes the command(for eg:- CVS update). My question is as follow
1. How to know that CVS update command in bat file is executed successfully.
2. After successful execution only - it need to execute the next line.
3. Whether success OR failure a log file need to be created in specified path.
4. In that log path i need to write details like 'date/time and result of my batch command"
5. I call this batch file from a utility, In that utility i have several batch files waiting to be executed subsequently. After the successful execution of batch1 - It then need to execute the next batch2. Batch1 may take some time, Till then batch2 should wait and then after completion of batch1 it should execute batch2.
Please help in this queries... I have googled and found nil result relate to my issue.
Thanks
Paulwintech