Re: Emacs and Windows PATH variable

Abhishek L <[email protected]>
Newsgroups gmane.emacs.windows
Message-ID <CAFFrkr+r68K6mVbxtR441n0hVfFQ29d7ptaUmHVn0pvtxCDw+A@mail.gmail.com>
Hi

>
> 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?

I usually do a `(setenv "PATH" (concat (getenv "PATH")
";C:\\my-path\\to-something;")`
when I want emacs to recognize a new path. I actually have this in my
init file itself as I use cmd rarely and have done most of PATH
customization by doing the above trick and setting the `exec-path'
variable.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.