Posted March 10, 200916 yr What is it called that "PATH" accesses? Also how do you add and remove a directory to it?
March 10, 200916 yr 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.
March 10, 200916 yr Author I mean how when you type "PATH" in cmd it brings up all those directories, how do you add/remove those directories?
March 10, 200916 yr 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 ****
Create an account or sign in to comment