Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Updating window environment variables

by smitz (Chaplain)
on Apr 29, 2003 at 15:06 UTC ( #253964=note: print w/replies, xml ) Need Help??


in reply to Updating Microsoft Windows (win32) environment variables

Not sure quite sure what you mean by permanently, but maybe these will help:
  • Really Permanently: Why not go through Settings -> Control Panel -> System -> Advanced -> Environment Variables?
  • Win32::Registry The keys you are looking for are:
    1. HKCU\Environment - User (saved between logons)
    2. HKLM\System\CurrentControlSet\Control\Session Manager\Environment - System
    3. HKCU\VolatileEnvironment - User (not saved between logons)
  • Meta::Utils::Env: May work for you, check the docs.
Hope these help,

Smitz
  • Comment on Re: Updating window environment variables

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://253964]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2022-08-12 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?