#1
|
|||
|
|||
Changing environment variable within build
I would like to toggle an environment variable's value in the middle of my visual build file... I tried macros and a direct set command, neither seem to work...
What's the trick to getting this to work in Visual Build? Is this even allowed? |
#2
|
|||
|
|||
To update an environment variable within a build, use the Add to environment variables when calling external programs option of the Set Macro action (see the attached sample).
http://www.kinook.com/VisBuildPro/Ma...acroaction.htm Or to call a batch file that modified variables and have those changes take effect for a program that is called, use the Command to run before main command option on the Advanced tab of Run Program and derived actions. http://www.kinook.com/VisBuildPro/Ma...dvancedtab.htm |
Tags |
environment variable |
Thread Tools | |
Display Modes | Rate This Thread |
|
|