Skip to content

Instantly share code, notes, and snippets.

@ericfialkowski
Created June 27, 2017 14:33
Show Gist options
  • Save ericfialkowski/106544008895fe92287a35c59b2646c9 to your computer and use it in GitHub Desktop.
Save ericfialkowski/106544008895fe92287a35c59b2646c9 to your computer and use it in GitHub Desktop.
Batch file for timing programs
@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