0

I need a script that I can call/include from another batch file (.bat) that can calculate the amount of time it takes to execute the first batch file. The script would be used for automation on both Windows 7 x64 and Windows Server 2008 R2 (just incase it matters). Any advice on how I can accomplish this?

1

1 Answer 1

0

Surround your batch call with re-directed outputs. Then note the time the re-directed output files were created.

Example

echo T > start.time
do_your_batch_file
echo T > end.time
dir *.time

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .