I am using spacemacs (0.200.13@26.1), but this should be applicable to vanilla Emacs too. The version of Emacs I'm experiencing this issue on is "GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30". I created a virtual drive in windows, using the subst MS Windows command. Something like this:

w: subst c:/users/me/projects

Then, I open Emacs and try to access this drive. I fail to do so and the only information I get back is.

The system cannot find the drive specified.

How to solve this? Can I even use virtual drives in Emacs?

  • Which Emacs are you running? Examples are: the mingw built, Emacs under cygwin, Emacs under WSL I think the output of M-x emacs-version would be informative enough.
    – Tobias
    May 27 '19 at 14:47
  • @Tobias Added the version information to the main post.
    – ashrasmun
    May 27 '19 at 14:52
  • 1
    subst i: c:\temp on cmd.exe and find-file i:\test.txt in Emacs afterwards work for me in GNU Emacs 26.1 (build 1, i686-w64-mingw32) of 2018-05-30.
    – Tobias
    May 27 '19 at 16:22
  • I'm sorry for mess. It seems to work for me too... I don't know what did I do to fix it, but needless to say, I'm happy it works. Thank you for help! I cannot give you any points tho :/
    – ashrasmun
    May 28 '19 at 6:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.