Jack Donohue wrote:
Jack Donohue wrote:
I use the x (execute) command a lot

" Netrw Directory Listing (netrw v132)
"   Sorted by time
" Quick Help: <F1>:help -:go up dir D:delete R:rename s:sort-by x:exec " ============================================================================

Works fine in vim70, but I recently changed to vim 7.2 and I sometime get this:

Press <cr> to continue

instead of opening the file with the file association. I'm running Windows XP SP 3
..snip..

and that works fine. The only difference I can see it the text for the two commands is that the old escape ends up with a double quoted filename, while shellescape generates single quotes.

Hello!

The help pages for shellescape() say:

 On MS-Windows and MS-DOS, when 'shellslash' is not set, it
 will enclose {string} in double quotes and double all double
 quotes within {string}.
 For other systems, it will enclose {string} in single quotes
 and replace all "'" with "'\''".

IIUC, your problem is that you're getting single quotes instead of double quotes. Do you happen to have 'shellslash' set?

:echo &shellslash

Regards,
Chip Campbell

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