Skip to content

Instantly share code, notes, and snippets.

@digitalfun
Last active November 8, 2017 14:33
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