Its probably not a slash problem; vim seems to understand /s with
Windows paths.
What script were you using? If it was netrw, please get the latest one from
http://mysite.verizon.net/astronaut/vim/index.html#NETRW
Regards,
Chip Campbell
Maybe the command vim builds is malformed such that it doesn't write it's
output to the file ( verbose >= 9 will tell ).
On linux
call system('foo(')
will run something like
( foo( ) > /tmp/xyz
,but fail and give the above error message.
-ap
--
:wq
To check the permissions (and whether the directory exists etc), it would be
useful to try creating the file as the same user who was running Vim. For
example:
At command prompt:
echo Hello > c:\temp\VIo1A08.tmp
In Vim:
:w c:/temp/VIo1A08.tmp
John
system() calls the shell to interpret its parameter. On Cygwin, with a
Unix-like shell, the shell doesn't understand your Windows-like path: what
Windows calls C:\temp\VIolA08.tmp can be seen in Vim as c:/temp/VIolA08.tmp
but to your bash shell it is named /cygdrive/c/temp/VIolA08.tmp (or, IIRC,
`cygpath -u 'C:\temp\VIolA08.tmp'`).
I recommend using Vim-for-Cygwin from the Cygwin bash shell, or
Vim-for-native-Windows from either the Windows cmd.exe shell or typical
"Windows" invoking methods such as a desktop icon or an "Open with Vim"
menuitem in the right-click context menu on most files.
Best regards,
Tony.
--
Ankh if you love Isis.