- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
is there a possibility to change or add environment variables that are stored in My Computer ->Properties -> Advanced -> Environment Variables? SetEnvQQ is only for the current process...
Thx in advance,
OnkelHotte
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I run Windows XP with an account that has administrative privileges. At the bottom of the Environment Variables dialog box are three buttons labeled New, Edit, and Delete. You can use Edit to modify the definitions of existing user and system variables, and you can use New to create new variables.
I don't know what you're getting at when you state that SetEnvQQ is only for the current process.
Mike D.
I don't know what you're getting at when you state that SetEnvQQ is only for the current process.
Mike D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
setenvqq does affect the current process (and child processes) only. To make permanent changes, you update the registry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So there is no chance to update those variables at run-time, I have to add them manually in the environment dialog box...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you can update them in a program - that's how installers do it. You use the Win32 API routines for updating the registry. The system variables are under HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page