![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hallo, The ASA 9.02 Setup (WinXP SP3) sets some environment variables (e.g. path), but this variables doesn't work until a logoff/logon. I think the ASA setup writes the variables only into the registry and did not use a way similar to the tool setx.exe. This is a problem for me, because the ASA setup is a part of a extensive setup where I need this variables. Any ideas how I can bring the environment variables to live directly after the setup? |
#3
| |||
| |||
|
|
Thomas, Environment variables are available to any new calling environment that is launched after they're set in the registry. Existing environments/launched executables do not pick up the changes. e.g. 1. Start -> Run -> cmd 2. "echo %MYVAR%" 3. Right-click on My Computer, Properties, Advanced, Environment Variables, Add... Var: MYVAR, Value: Hello 4. Start -> Run ->cmd 5. "echo %MYVAR%" in both Command Prompts - one picks up the new value, one does not. Regards, Thomas wrote: Hallo, The ASA 9.02 Setup (WinXP SP3) sets some environment variables (e.g. path), but this variables doesn't work until a logoff/logon. I think the ASA setup writes the variables only into the registry and did not use a way similar to the tool setx.exe. This is a problem for me, because the ASA setup is a part of a extensive setup where I need this variables. Any ideas how I can bring the environment variables to live directly after the setup? -- Jeff Albion, Sybase iAnywhere iAnywhere Developer Community : http://www.sybase.com/developer/libr...ere-techcorner iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals SQL Anywhere Patches and EBFs : http://downloads.sybase.com/swd/summ...&timeframe =0 Report a Bug/Open a Case : http://case-express.sybase.com/cx/ |
![]() |
| Thread Tools | |
| Display Modes | |
| |