How to time batch file execution using timethis.exe?

Posted by unknown on Super User See other posts from Super User or by unknown
Published on 2010-02-27T02:49:47Z Indexed on 2011/11/29 17:53 UTC
Read the original article Hit count: 146

Filed under:

While timethis.exe works fine for almost every application, it seems to fail for .bat files:

C:\test>timethis test.bat

TimeThis :  Command Line :  test.bat
TimeThis :    Start Time :  Fri Feb 26 19:46:30 2010

'test.bat' is not recognized as an internal or external command,
operable program or batch file.

TimeThis :  Command Line :  test.bat
TimeThis :    Start Time :  Fri Feb 26 19:46:30 2010
TimeThis :      End Time :  Fri Feb 26 19:46:30 2010
TimeThis :  Elapsed Time :  00:00:00.070

While executing it on a regular command line is fine, timethis.exe fails for it. How do I fix this problem?

© Super User or respective owner

Related posts about time