help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Emacs and Windows PATH variable


From: Abhishek L
Subject: Re: [h-e-w] Emacs and Windows PATH variable
Date: Tue, 4 Mar 2014 22:53:38 +0530

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]