Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Changing environment variable within build (https://www.kinook.com/Forum/showthread.php?t=5320)

kilroy55 12-09-2014 10:01 AM

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?

kinook 12-09-2014 06:21 PM

1 Attachment(s)
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


All times are GMT -5. The time now is 09:30 PM.


Copyright © 1999-2023 Kinook Software, Inc.