Created
August 4, 2019 06:13
-
-
Save raganmd/cb74a9d6d98f435c7881239a5b576b1f to your computer and use it in GitHub Desktop.
This file contains 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
:: echo | |
:: Display messages on screen, turn command-echoing on or off. | |
:: "%~dp0" | |
:: The %~dp0 (that's a zero) variable when referenced within a Windows batch file will expand to | |
:: the drive letter and path of that batch file. The variables %0-%9 refer to the command line | |
:: parameters of the batch file. %1-%9 refer to command line arguments after the batch file name. | |
:: %0 refers to the batch file itself. | |
:: as a note this CMD or BAT needs to run as admin in order to work correctly | |
@echo off | |
set STARTUP=controller | |
timeout /t 1 | |
start "%programfiles%\derivative\touchdesigner099\bin\touchdesigner099.exe" "%~dp0\your-toe-file-name.toe" | |
set STARTUP=node | |
timeout /t 1 | |
start "%programfiles%\derivative\touchdesigner099\bin\touchdesigner099.exe" "%~dp0\your-toe-file-name.toe" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment