reddit / emacs

Doom emacs Tramp from macOS to Windows 10 host

Mind_Unusual ยท 2022-11-26 16:13
I'm trying to use tramp to edit files that are in a windows 10 machine through emacs tramp on macOS I'm getting connection failed and suspect it has something to do with tramp not recognizing the shell as i see in other posts, however i'm a newbie and unsure how to go about doing this. I've tried: (setq explicit-shell-file-name "C:\\Windows\\system32\\cmd.exe") and: (setq explicit-shell-file-name "C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe") Emacs hangs, and after a while a buffer is shown with what would look like a successful connection, with microsoft corporation, the version etc.. but full of special characters like \^M, and i immediately get a timeout. I'm completely unsure of what to do at this point and would appreciate some help