Forum Discussion

jreutter's avatar
jreutter
New Contributor
13 years ago

Reloading system variables

Hi,



is it possible to reload the windows system environment variables to TestComplete (6.51.405.5).



During a TC test run, i change some system variables (by WScript.Shell object for Win7, XP - Win32, x64).

The new values are set on WinPC, but TC uses still the old values (in the sandbox??)



System variables are set to TC after TC restart. I dont need to reboot the entire system via aqEnvironment.RebootAndContinue().



Ive tried to reload the system variables in several ways,  but unsuccessful.

Is there a simple way to reload in TC the windows system environment variables?