M.I.5¾ said:
This will not affect the PATH in a command window.
You need to figure out what is wrong with your command window as it
works perfectly here. It modifies the path for all applications
including cmd.exe. If cmd.exe is already running prior to you making
the change to path, then you need to exit that command window and start
a new one. The new command window will pick up the change made to any
environment variables, including path.
This will not affect the PATH in a command window.
I will not repeat the same comment as you have done, simply read again
what I said above. The only difference is if you only change the
registry key then you'll also need to do something to make sure an
environment settings change message is broadcast to the system. Once
that is done, any applications that listen for those, or any
applications that are started after the broadcast, including a new
command window, will be running with the new environment settings.