On Tue, 16 Aug 2011, Daryl Lee wrote:
This is probably more a Win7 issue than a Vim issue, but I know that
if I took it to a Win7 forum they'd just tell me to use Notepad, and
I'm not in the mood for that.
I try to use gvim to edit my "hosts" file, but the .../drivers/etc
folder is invisible to me when I use the Open File... menu. I have to
run Windows Explorer as administrator and navigate to the hosts file
and "Edit with Vim" from the context menu. What I find odd is that if
I do throw my pride out the window and run Notepad as administrator, I
can navigate to the file with no problem. If it were just this one
file, I wouldn't be too concerned, but it makes me think I'll run into
the same issue in the future--my normal usage pattern (lauch, Open
File, navigate to file) will give me misleading results.
Can someone tell me how to configure gVim so it handles Win7 security?
That's indeed bizarre behavior. Under C:\Windows\System32\drivers\, etc
doesn't appear for me, either. But, you can type etc in the filename
field and hit Enter, and it takes you to the invisible subdirectory.
I can't seem to understand what's going on with
C:\Windows\System32\drivers\etc in particular. It's not a reparse point
of any sort (according to the Sysinternals 'junction' tool). But, if
you're also annoyed (as I am) by all of the "Application Compatibility"
symbolic links, see these explanations:
Windows 7 folder Mapping:
http://answers.microsoft.com/en-us/windows/forum/windows_7-files/windows-7-folder-mapping/080a50fe-7581-46d1-a85d-126f24604309
Application Compatibility: Junction Points and Backup Applications:
http://msdn.microsoft.com/en-us/library/bb756982.aspx
They don't really solve the problem, but for me they cleared up a lot of
confusion.
--
Best,
Ben
--
You received this message from the "vim_use" 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