On 2/1/06, <b class="gmail_sendername">Peter Jay Salzman</b> &lt;<a href="mailto:p@dirac.org">p@dirac.org</a>&gt; 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,&nbsp;&nbsp;2:03 PM, Foo Lim &lt;<a href="mailto:foolim@gmail.com">foolim@gmail.com</a>&gt; said:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Hi Pete,<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;When I installed gvim, I also installed the bat files for running from the<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;command line.&nbsp;&nbsp;It's an option when installing gvim.&nbsp;&nbsp;It puts batch files<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;in the Windows directory, so you can merely run:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;gvim.bat file<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;I have successfully aliased vi to /cygdrive/c/WINDOWS/gvim.bat, &amp; it
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;works.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Foo<br><br>Hi Foo,<br><br>This is *exactly* what I want, but unfortunately it's not working for me.&nbsp;&nbsp;I<br>tried calling the bat file by name:<br><br>&nbsp;&nbsp; $ /cygdrive/c/WINDOWS/gvim.bat /cygdrive/c/boot.ini
<br><br>and got the same result:<br><br>&nbsp;&nbsp; Unable to open swap file for \cygdrive\c\boot.ini<br><br>and gvim left me editing an empty file.&nbsp;&nbsp;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.&nbsp;&nbsp;I don't suppose you have a<br>magic pill for this?&nbsp;&nbsp;:)<br><br>Thanks!<br>Pete<br></blockquote></div><br>Hi Pete,<br><br>This sounds like a permissions issue.&nbsp; Are you part of the Administrators group?&nbsp; The swap file should be created in the directory of the file you're editing.&nbsp; What if you put
<br>set noswapfile<br>in the _vimrc file in the Vim install directory?<br><br>Foo<br>