Loading ...
Sorry, an error occurred while loading the content.

RE: vim and .bat files with Windows Server 2008

Expand Messages
  • Hyde Miller
    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! Hyde ...
    Message 1 of 4 , Aug 1, 2012
    • 0 Attachment
      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!
      Hyde

      -----Original Message-----
      From: Ben Fritz [mailto:fritzophrenic@...]
      Sent: Monday, July 23, 2012 10:56 AM
      To: vim_use@...
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.