On 2/1/06, <b class="gmail_sendername">Peter Jay Salzman</b> <<a href="mailto:p@dirac.org">p@dirac.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue 31 Jan 06, 2:03 PM, Foo Lim <<a href="mailto:foolim@gmail.com">foolim@gmail.com</a>> said:<br>> Hi Pete,<br>><br>> When I installed gvim, I also installed the bat files for running from the<br>
> command line. It's an option when installing gvim. It puts batch files<br>> in the Windows directory, so you can merely run:<br>><br>> gvim.bat file<br>><br>> I have successfully aliased vi to /cygdrive/c/WINDOWS/gvim.bat, & it
<br>> works.<br>><br>> Foo<br><br>Hi Foo,<br><br>This is *exactly* what I want, but unfortunately it's not working for me. I<br>tried calling the bat file by name:<br><br> $ /cygdrive/c/WINDOWS/gvim.bat /cygdrive/c/boot.ini
<br><br>and got the same result:<br><br> Unable to open swap file for \cygdrive\c\boot.ini<br><br>and gvim left me editing an empty file. I have a new job which leaves me<br>zilch free time, plus I have a two hour commute each way (ugh!) so I don't
<br>have much time for experimentation these days. I don't suppose you have a<br>magic pill for this? :)<br><br>Thanks!<br>Pete<br></blockquote></div><br>Hi Pete,<br><br>This sounds like a permissions issue. Are you part of the Administrators group? The swap file should be created in the directory of the file you're editing. What if you put
<br>set noswapfile<br>in the _vimrc file in the Vim install directory?<br><br>Foo<br>