Hi! How can a Vim script run a program which has spaces in its path? For example, the following "system" command fails with the message "'C:\Program' is not recognized as an internal or external command, operable program or batch file":
let rcmd = '"C:\Program files\R\R-2.11.1\bin\Rcmd.exe" BATCH "example.R"' let rlog = system(rcmd) if v:shell_error echomsg rlog endif Thanks! Jakson Aquino -- 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
