sorry.

:set noshelltemp
:set shellxquote=
:let &shellredir = '>%s 2>' . shellescape(tempname())
:echo system('""ls""')
The filename, directory name, or volume label syntax is incorrect.

:set noshelltemp
:set shellxquote=    or   set shellxquote="
:let &shellredir = '>%s 2>' . tempname()
:echo system('""ls""')   or   :echo system('"ls"')

or

:set noshelltemp
:set shellxquote=(
:let &shellredir = '>%s 2>' . tempname()
:echo system('""ls""')   or   :echo system('"ls"')

is working.

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui