Is there a specific way Touch 088 has to be launched to recognize all the Windows system environment variables?
When I launch TouchDesigner088.exe from the command line or a .bat script, only some of the system environment variables are available in the Variables dialog. It seems to be selective. Some custom variables like MYPROJECT and INSTANCE_COUNT are always available in Touch; others, like TOUCH_TEXT_CONSOLE, are not. However, when Touch is launched from the start menu shortcut, all these variables are recognized just fine.
Any thoughts why this is happening? It just seems odd that some variables work and some don’t. Tried using the “start /D” command to set the executable start path, no change.
Hi, These are all system variables, and not user variables, right? If there are user variables and you are logged into another account (when you run your .bat), they would not show up.
Yes, they’re system variables. TOUCH_TEXT_CONSOLE is defined permanently in Windows 7’s System Properties, others are set in the batch script.
Current workaround is to rename the critical variables so they work. For instance, RENDER_PATH doesn’t work, but PATH_RENDER does. Really weird, but it works.
I just ran into this on windows 8 setting TOUCH_EDITOR. I had to log in and out for touch to see the addition. Was weird, as the command prompt picked it up just fine.