View Single Post
  #2  
Old 12-09-2014, 06:21 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,015
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
Attached Files
File Type: bld env_var.bld (987 Bytes, 1266 views)
Reply With Quote