Search code examples
linuxemacstramp

How to access Windows shared folders using emacs


I am using Emacs on Linux and would want to know how to access my Windows shared folders from Emacs. I am able to perform this operation using nautilus (gnome file manager).


Solution

  • Windows shared folders are usually samba shares which can be accessed using tramp. You can find the relevant part in the tramp documentation here in the "smb -- smbclient" subsection. The correct syntax should be something along the lines of

    /smb:USER%DOMAINNAME@HOST:/REMOTEPATH