Link to home
Start Free TrialLog in
Avatar of bill_home
bill_home

asked on

Where does the data for the Environ Object reside

Hello,
         SomeOne sent me code that loops through the Environ Object looking for a specific varialble.  The one I am looking for does not exist.

       So where does this Environ Keys exist?

      Is it the registry?  If so which part?

Thanks
Bill
     
     
ASKER CERTIFIED SOLUTION
Avatar of EDDYKT
EDDYKT
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
for user

HKEY_CURRENT_USER\environment
Avatar of bill_home
bill_home

ASKER

It seems like it gets data from a few places. some of the keys I see as I step through are in one or the other sections you mention above.  Is it ok for me to add to these folders?  I will be accepting your answer shortly.  Thanks for the qucik response.  It is urgent.

sure
can you see it from command prompt?

type set on the command prompt
I added an Enviroment var in hkm\system\controlset001\control\session manager\environment..seemed to work ok.

Thanks again
Bill
do not add any keys to hkm\system\controlset001\control\session manager\environment YOUR PC WILL CONTINUE TO REBOOT...CAN'T GET IT GOING EVEN IN SAFE MODE.  NEEDS TO BE RE-BUILT