I'm trying to run a .bat file that sets environment variables. Here's how my TCL looks:
# Set env variables #
exec test.bat
# DOS command to print value of variable (does not contain new value) #
puts [exec cmd.exe /c echo %ENVVARIABLE%]
The .bat is executed and the variables are set when I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.