How to edit file name under cursor in Vim/Gvim, when it starts with /cygdrive/ in Windows
<p>With cygwin64 installed, and a separate Gvim 8.0.2 installation.
I can open a file on the bash prompt like this:</p>

<pre><code>gvim /cygdrive/c/Temp/foo.txt
</code></pre>

<p>it works because my script uses <code>cygpath -w /cygdrive/c/Temp/foo.txt</code> to convert the path into its windows form, finally calling <code>gvim.exe C:\Temp\foo.txt</code>.</p>

<p>However in Gvim, when my cursor is on a line like this:</p>

<pre><code>/cygdrive/c/Temp/foo.txt
</code></pre>

<p>and I type <code>&lt;Ctrl-W&gt; f</code>, I get this error text in Gvim:</p>

<pre><code>E447: Can't find file "/cygdrive/c/Temp/foo.txt" in path
</code></pre>

<p>What must I do to get this working in a standard installation of Gvim under Windows?</p>