For example, I want to add notepad++ to my PATH, however the directory also contains uninstall.exe and several other files/executables and I don't want them to "pollute" my path. Can I just add the one notepad++.exe?
| |||||||||||
feedback
|
|
You can add a batch script to a directory that is in your path, that looks something like this:
You can name it I put all such scripts and command line programs in a directory which is added to | |||||||||||
feedback
|
|
Drag a shortcut to Alternatively, as suggested by @Synetech inc., you could place your shortcuts in a separate directory (e.g.
| |||||||||||||||
feedback
|
|
AFAIK only folders are added to the path, not executables. Unless the documentation is wrong, you will be adding to the path
The only solution would be to not include the notepad++ folder in the path, and refer to the executable by its full path-name. | |||||||
feedback
|