Last active
November 8, 2017 14:33
-
-
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)
This file contains hidden or 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
: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