Page 1 of 1

gVim can't open file in c:\Windows\system32

Posted: Mon Jun 09, 2014 7:00 pm
by peter_b
[PROBLEM]
On a 64bit Windows7, when trying to open a file with gVim in C:\windows\system32, it shows up empty, and vim says "new file".
Other files in the folder can be opened without problems.
It's not an access rights (permissions) issue, since the file can be opened with e.g. notepad.

[SOLUTION]
The inconsistent, confusing behavior that "some" applications see the file, while others don't, depends on whether the viewing application is 32bit or 64bit. gVim is 32bit, while notepad for example is 64bit.
The folder that actually is accessed from a 32bit application is in fact C:\Windows\systemWOW64.


Links: