Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I also had the same problem. I traced it to <em>org-open-at-point</em> transforming the PATH to something that <em>w32-shell-execute</em> cannot open. Using the defadvice below, I am able to open // and \ network paths.</p> <pre><code>(defadvice w32-shell-execute (around workaround-for-org-w32-shell-execute activate) "Replace w32-shell-execute PATH directory seperators to Windows backslash when PATH starts with '//' (i.e. Network path). This allows allowing org-mode links in org-mode files like [[\\\\myserver\\mypath\\mydoc.doc][mydoc.doc]] to be opened by org-open-at-point. Forward slashes / are also accepted. org-open-at-point transforms the links to //../../ but unfortunately w32-shell-execute does not accept that." (let ((operation (ad-get-arg 0)) (path (ad-get-arg 1))) (when (and (string-equal operation "open") (eql (string-match "//" path 0) 0)) (setq path (replace-regexp-in-string "/" "\\\\" path)) ;; debug (message "Opening %s" path) (ad-set-arg 1 path)) ad-do-it)) </code></pre> <p>Try [[//127.0.0.1/c$$]]</p> <p>This is a quick and dirty fix, but "it works on my machine". </p> <p>Verified on Emacs 24.2, Org-mode 7.9.11.</p> <p>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]]</p> <pre><code>(mapc (lambda (file-name-matcher) (add-to-list 'org-file-apps (cons file-name-matcher 'default) 'append)) (list "\\.doc\\'" "\\.xls\\'" "\\.ppt\\'")) </code></pre> <p>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:]]".</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload