Comment #9 on issue 28 by [email protected]: out of the box, gVim 7.3.46
for Win32 cannot write swap files on Windows 7
http://code.google.com/p/vim/issues/detail?id=28
This problem is occurring because the 'Start In' field is blank in the
shortcuts in the Start menu. When a value isn't specified for that field,
the program that is started will use the working directory of the parent
process. The working directory is C:\Windows\system32 for the Start menu.
As a temporary workaround, you can edit each Vim icon in your Start menu
and add "%HOMEDRIVE%%HOMEPATH%" to the Start In field. This will ensure
that Vim starts with the working directory set to the home directory of the
user who started the program. The %HOMEDRIVE% variable will expand to
something like C: and %HOMEPATH% to \Users\Username where Username is the
user who launched the process. This is the same method used when launching
the command prompt from the start menu, for example.
For a permanent solution, line 1778 of src/dosinst.c needs to be changed to
#define WORKDIR "%HOMEDRIVE%%HOMEPATH%"
so that the value is set when the shortcuts are installed to the Start menu.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
You received this message from the "vim_dev" 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
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.