Setting default working directory/drive in Emacs shell on Windows

Posted by Victor K. on Super User See other posts from Super User or by Victor K.
Published on 2010-04-13T18:48:12Z Indexed on 2010/04/13 18:53 UTC
Read the original article Hit count: 441

Filed under:
|

Hello,

how can I change a default working directory/drive for shell in Emacs (on Windows)?

Normally, shell starts in the same directory as the file in current buffer. However, when my current file is on D: drive, it starts in c:. Manually changing drive to D: in shell brings me to my directory of course, but I want to avoid this extra step. Is it possible?

© Super User or respective owner

Related posts about emacs

Related posts about shell