On 19/07/12 17:19, Hyde Miller wrote:
I'm using vim in a .bat file to search for and remove quotation marks
from a series of .txt files. This .bat file works fine with XP but
not with Windows Server 2008. The issue appears to be that the :q in
the source file not only quits the vim session but also quits the
batch file. Is this a bug or is there something in the configuration
of vim on Windows Server 2008 that will prevent this. specifically,
the .bat file is
dir
vim -c "source control.txt" "file1.txt"
dir
and the control file is
:g/\"/s/\"//g
:w
:q
The second dir never executes.
Strange. Does it make any difference if you replace "vim" by "vim.exe"
in the .bat file (so that any possible "vim.bat" is bypassed)?
Best regards,
Tony.
--
I don't believe there really IS a GAS SHORTAGE.. I think it's all just
a BIG HOAX on the part of the plastic sign salesmen -- to sell more
numbers!!
--
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