I\'ve been having difficulty with getting my users to set the PATH environment variable manually, I\'m looking for a way to do this automatically. A batch file would be prefera
So, since I've been having difficulty with getting my users to set the PATH manually, I'm looking for a way to do this automatically.
The HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
(as well as HKEY_CURRENT_USER\...
) registry key allows you to attach an application specific path to your executable name.
Whenever an executable of the given name is started, the application specific path is added to that executable's PATH environment variable.