Skip to content

Instantly share code, notes, and snippets.

@raganmd
Created August 14, 2019 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raganmd/eb5b441910d63c18e86148731327cbc2 to your computer and use it in GitHub Desktop.
Save raganmd/eb5b441910d63c18e86148731327cbc2 to your computer and use it in GitHub Desktop.
:: 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\env-vars.toe"
set STARTUP=node
timeout /t 1
start "%programfiles%\derivative\touchdesigner099\bin\touchdesigner099.exe" "%~dp0\env-vars.toe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment