Jump to content
Tuts 4 You

add/remove cmd "PATH"?


Recommended Posts

Calling SetEnvironmentVariable has no effect on the system environment

variables. The user can add or modify system environment variables using

the Control Panel. To programmatically add or modify system environment

variables, add them to the

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Session

Manager\Environment registry key, then broadcast a WM_SETTINGCHANGE

message. This allows applications, such as the shell, to pick up your

updates. Note that environment variables listed in this key are limited to

1024 characters.

If that's wut you meant.

Link to comment

Dooh simply try to read the quote again !

Add/remove it manually, or programmatically (like some installers surely do)

or via the control panel into registry :?

Other values from that reg folder can be accessed in cmd aswell.. like %os%, %pathext% or similar ****

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...