Dear all,
I am new to Auto I and I need all your kind suggestons & help.
I have received many batch files and they need to be executed sequentially.
Each batch files takes a lot of time and I want to use Auto It to run them sequentially
logging the time taken and status of each batch file to txt file.
Now I am able to run one batch file and pop time taken. But want to change.
Please help me.
My batch files:
Test1.bat~Test20.bat (20 files)
My present code:
$StartTime=TimerInit()
RunWait("C:\TestFile\Test1.bat")
$EndTime=TimerDiff($StartTme)
Msgbox(0,"Time ","Time taken to run batch 1 is:"&$EndTime)
Kindly note each batch file exits after a key is clicked.
Can any body help how to run them sequentially and log the time and status of batch file completed (Success/error)
Thanking you in advance.