Skip to content

Instantly share code, notes, and snippets.

@digitalfun
Last active November 8, 2017 14:33
Show Gist options
  • Save digitalfun/ac2ba83ddc6dec2d3c29395e5f645562 to your computer and use it in GitHub Desktop.
Save digitalfun/ac2ba83ddc6dec2d3c29395e5f645562 to your computer and use it in GitHub Desktop.
Taskfile.bat script: Appends a file to Taskfile.bat (used to "install" tasks)
:task-add-task <filename>: Adds/appends a task from a file to Taskfile.bat
IF "%1"=="add-task0" (
ECHO Missing argument ^<filename^>
GOTO :EOF
)
TYPE "%1" >>%scriptName%
ECHO. >>%scriptName%
GOTO :EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment