Wednesday, April 27, 2011

execute command from vim in windows

i need to run an executable from vim. the problem that i'm facing is
that directory names in the path to this file contain spaces and vim
doesn't recognize that.

here is the problem
C:\Documents and Settings\myhomedirectory\someotherdirectory
\executable.exe

when i execute from vim
!C:\\Documents\ and\ Settings\\myhomedirectory\\someotherdirectory\
\executable.exe

i get the following message

C:\\Documents

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

No comments:

Post a Comment