Hi epanda!

On Mo, 08 Mär 2010, epanda wrote:

> When I want to do a readfile I have to name paths like that :
> 
> c:\\my\ path\ with\ spaces\\mySubPath
> 
> And it makes me doing double of writing work.
> 
> It is a little annoying.

I don't see your problem. I can do:
:let a=readfile('C:\Program Files\vim\vimfiles\plugin\DirDiff.vim')

(Unfortunately, readfile does not complete file names, so I neede to 
paste it. But it works, while using " does not work:
:let a=readfile('C:\Program Files\vim\vimfiles\plugin\DirDiff.vim')
returns: E484 Can't open file…

So try to use single apostrophes.

Maybe setting shellslash could also work for you (see :h 'ssl')


Mit freundlichen Grüßen
Christian
-- 
Jeder Mensch gilt in dieser Welt nur so viel, als wozu er sich selbst
macht.
                -- Adolph von Knigge (Über den Umgang mit Menschen)

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to