
March 27th, 2008, 07:52 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 2
Time spent in forums: 19 m 41 sec
Reputation Power: 0
|
|
|
Calculate start and end time
Hi,
I have a batch file to execute another batch file. I want to calculate the start time - end time to give a total time that the process took.
This is my Batch:
@ECHO OFF
ECHO %DATE%
ECHO THE PDF WILL OPEN WHEN PROCESSING IS COMPLETED.
ECHO TRANSFORMING STARTED...
set starttime=%time%
ECHO STARTED: %starttime%
Sandbox-Fo.bat >output.txt 2>&1 & ECHO FINISH DEBUGGING, PRESS ANY KEY TO EXIT & pause & start foo.pdf
How can I do this?
Thanks
|