Does anyone know a way to set a system variable from TC ? (windows)
eg (in cmd prompt) setx CurrentProject c:\projects\currentProject_XX
I can't find a way to set %CurrentProject% = [TC source] as a button.
In Maya it's invaluable (done via Python) as we're jumping between projects all the time. Would love to be able to do the same thing in TC
Command: cmd /c
Parameters: setx CurrentProject %P
If that is the correct syntax for setx.
In opened button dialog, press F1 for more help...
Command: cmd /k
Parameters: ECHO %P
Code: Select all
Command: cmd.exe /c Parameters: setx CurrentProject "%P"