- Windows 7.
- It’s for my own machine, so it doesn’t matter if it requires admin rights or something.
- Preferably in Python or .NET, but I can learn a bit of Win32 (C/C++) programming if it’s necessary.
Windows 7. It’s for my own machine, so it doesn’t matter if it requires
Share
if you want to permanently set environment variable, you can insert the new value into registry. eg with vbscript, add the path “c:\test” into PATH variable
So, if you use Python or other languages, you can do the same thing using your language’s own api/modules to read and write registry