Nikolay, I use a VBS script to alter the PATH in the global system environment. It's based on this thread in the Windows Script Host Usenet: http://groups.google.com/group/microsoft.public.scripting.wsh/browse_thread/thread/f88098309ad51cec/9da1b95fdadecdb3?q=modify+OR+set+system+path#9da1b95fdadecdb3
So when I need to permanently add a directory to the path (even from within a batch file), I call my script. And I do not need to restart Windows. The effect is the same as using the GUI through Computer | Properties | Advanced Settings, etc. - Ray -----Original Message----- Date: Tue, 04 Mar 2014 20:48:08 +0400 From: Nikolay Kudryavtsev <nikolay.kudryavt...@gmail.com> To: help-emacs-windows@gnu.org Subject: [h-e-w] Emacs and Windows PATH variable Message-ID: <531603c8.4040...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" Hello. I usually use windows console from emacs. And sometimes I install new stuff that I put on my PATH. If you use console from windows, you can just open a new console and PATH will be updated. With emacs this does not work. Restarting emacs does not work either. The only way is to restart windows. Is there any way to change this behavior? One shortcut is using script from here <https://stackoverflow.com/a/171737>, sure it works in case of a shell buffer, but PATH change is local to that buffer. It does not change PATH used by shell commands. -- Best Regards, Nikolay Kudryavtsev