Am 12.02.2012 23:23, schrieb Bram Moolenaar:

Patch 7.3.443
Problem:    MS-Windows: 'shcf' and 'shellxquote' defaults are not very good.
Solution:   Make a better guess when 'shell' is set to "cmd.exe". (Ben Fritz)
Files:      src/option.c, runtime/doc/options.txt

cmd.exe's quotes handling is broken, Vim cannot fix it.
(just my opinion)

But a cmdline can be enclosed in parens (...) which would prevent removal of 
quotes.
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_shelloverview.mspx

I just found it, not sure how well that works.

C:\>("C:\Program Files\abc.exe" "some arg with spaces")

If it works ok, a note in the help would be sufficient ...

--
Andy

--
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