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?
Surround your batch call with re-directed outputs. Then note the time the re-directed output files were created.