Skip to content

Instantly share code, notes, and snippets.

@fallenprogrammr
Created May 28, 2015 02:23
Show Gist options
  • Save fallenprogrammr/4edd33dfb39c2a67d3c6 to your computer and use it in GitHub Desktop.
Save fallenprogrammr/4edd33dfb39c2a67d3c6 to your computer and use it in GitHub Desktop.
REM Save the contents as piped_piper.cmd.
REM syntax - piped_piper <name of the file containing the list of files to take action on> <name of the command to execute, use double quotes to include arguments>
REM example - piped_piper delete_list.txt del
FOR /f "tokens=*" %%a in ('type %1') DO %2 %%a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment