I am looking for a comfortable editor for all environment variables defined in Windows. The default method to edit them is rather annoying me. Does anyone know something like that?
|
|
In a quick search of the web, there appear to be few such apps. Rapid Environment Editor doesn't require installation and is the only result in the first two pages of a google search for "modify windows 7 environment variables app". Environment Variables can be set using PowerShell and Batch scripting. I assume vbscript can do it as well. It shouldn't be too hard, if you have a favorite language, to script such an input. |
|||
|
The batch file iterated through the exported list you modified, for each line it splits it at the "=" and then uses SetX to set the environmental variables (regular "set" only sets them for the scope of the batch file). From there you can make additional changes by re-exporting, or changing the existing envvars.txt, and running the batch file again. Note: Keep a copy of your original export file (as a backup). :) |
|||
|
|
|
The best way that I know of for handling environment variables on a machine with Powershell (which your W7 machine has) is to use, well, Powershell. Here are some examples based on your comments. Want to search all the env variables for any theat has Temp somewhere in the value?
Want to see the path variable without the semicolon delimeters?
|
|||
|
|
|
In my opinion, the best way to set enviroment variables is just using "SETX" from a command window(cmd), this way you dont need to install any third-part softwares to manage Windows settings:
|
|||||||||||
|