agelessdummy / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 1 forks source link

File links [[file:///absolute path to file/file name.pdf]] doesn't work on Windows #337

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. add [[file:///C:/absolute path to file/file name.pdf]]  (file and path 
should exist) to vimwiki
2. open it with Enter

What is the expected output? What do you see instead?
file should be opened in external program

But there is a message:
Make new directory C:\C:\absolute path ...

Original issue reported on code.google.com by habamax on 30 May 2012 at 6:29

GoogleCodeExporter commented 8 years ago
Deja vu !?  What does it say when you set g:vimwiki_debug = 1 ?

Original comment by stu.andrews on 31 May 2012 at 2:44

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
yep!

opening this file:
[[file:///C:/Documents and Settings/KimMM/My Documents/фса.xlsx]]

I get 
open_link: idx=-1, scheme=file, path=C:\C:\Documents and Settings\KimMM\My 
Documents/, subdir=, lnk=фса.xlsx, ext=, url=C:\C:\Documents and 
Settings\KimMM\My Documents/фса.xlsx

Original comment by habamax on 31 May 2012 at 4:18

GoogleCodeExporter commented 8 years ago

Original comment by habamax on 1 Jun 2012 at 4:18

GoogleCodeExporter commented 8 years ago

Original comment by habamax on 6 Jun 2012 at 4:05