Quantcast
Channel: Active questions tagged tramp - Super User
Viewing all articles
Browse latest Browse all 21

Connect to shared drive from Emacs on Windows 7

$
0
0

I am using emacs-w32.exe, invoked from Cygwin, on a Windows 7 machine. I'm trying to connect to a shared drive that I can otherwise access and write to (e.g., by using the Windows explorer), but I am unable to deduce the proper TRAMP (?) setup and invocation for the drive.

I've tried C-x C-f and then some variation of one of the following:

 \\REMOTE-HOST\<path> /plink:\\REMOTE-HOST:<path> /plink:USER@REMOTE-HOST:<path> /ssh:USER@REMOTE-HOST:<path>

... along with some other variations, mostly involving forward vs. back slashes.

I haven't yet installed a samba client, because I am on a Windows machine which natively connects to such a drive and it doesn't seem like it should be necessary, but if that's the answer, I don't know how to either (a) install a samba client from Cygwin, or (b) direct emacs-w32.exe to the proper path. But I'd hope that, between plink/PuTTY and the Windows native capacity, I shouldn't need to take such steps.

Any advice?

(EDIT: Steven's advice worked when I invoke emacs, but not emacs-w32, so I'll set that as the answer, but the mystery remains why the one works and not the other. But, pragmatically speaking, avoiding emacs-w32 will work for me.)


Viewing all articles
Browse latest Browse all 21

Trending Articles