Created
June 27, 2017 14:33
-
-
Save ericfialkowski/106544008895fe92287a35c59b2646c9 to your computer and use it in GitHub Desktop.
Batch file for timing programs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem throw the first parameter away | |
set params=%1 | |
:loop | |
shift | |
if [%1]==[] goto afterloop | |
set params=%params% %1 | |
goto loop | |
:afterloop | |
echo Running: %params% | |
echo %time% | |
cmd /c %params% | |
echo %time% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment