How can I link to files on network drives in a Windows environment from Org-mode?
I get the error:
eval: ShellExecute failed: The system cannot find the file specified.
with this sort of link:
[[//share/path/to/file.csv]]
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I also had the same problem. I traced it to org-open-at-point transforming the PATH to something that w32-shell-execute cannot open. Using the defadvice below, I am able to open // and \ network paths.
Try [[//127.0.0.1/c$$]]
This is a quick and dirty fix, but “it works on my machine”.
Verified on Emacs 24.2, Org-mode 7.9.11.
Edit: The comment about “However, a big usage case for me is opening other types of files (eg. MS Office files)” works for me when I add the following associations to org-mode. I can open Microsoft Word, Excel, etc, using normal org-mode urls like [[\server\share\piyo.doc]]
Edit: The comment about “[[file+sys:]]” is “open [a file] via OS, like double-click”, which can be achieved with the above associations. On my Windows computer, I have not needed “[[file+sys:]]”.