RE: vim and .bat files with Windows Server 2008
- Both techniques work. The call method is a bit easier because using vim.exe requires using the entire path to vim.exe.
Thank you both for the assist!
From: Ben Fritz [mailto:fritzophrenic@...]
Sent: Monday, July 23, 2012 10:56 AM
Cc: Hyde Miller
Subject: Re: vim and .bat files with Windows Server 2008
On Thursday, July 19, 2012 10:19:26 PM UTC-5, Tony Mechelynck wrote:
> 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)?
You're probably right. If I recall correctly, directly calling one .bat file from another will terminate the caller when the callee terminates. But you can use the "call" command, like "call vim.bat" to prevent this. Or use the .exe file directly as suggested.
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