I want to prepend a directory to the windows path (I am running Windows 7 64-bit). However I can not find any way to do this:
- Changing the PATH variable via the GUI is not working as it is always appending.
- Changing the PATH with setx does not prepend neither:
setx PATH "new_dir:%PATH%"
Installing Cygwin and using BASH unfortunately is not an option.
I think I should have clarified that I also can not modify the System PATH - only the user PATH.