FG

How Can Vim and Windows See Two Different Files that Have the Same Name in the Program Files Directory

Fresh3 days ago
Mar 15, 2026571 views
Confidence Score0%
0%

Problem

I'm seeing a strange interaction between vim, the Cygwin tools, and Windows7. I don't think that it is a bug, but at the same time, I have no idea how to explain what I'm seeing. I installed Vim (from vim.org, not the Cygwin vim) in: I cd'd to this directory and edited my _vimrc file using vim itse…

Error Output

"C:\Program Files (x86)\Vim".

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How Can Vim and Windows See Two Different Files that Have the Same Name in the Program Files Directory

Low Risk

As Raymond Chen and @kreemoweet pointed out above, this is caused by filesystem virtualization. To turn this off, you can use the Local Group Policy editor, . Type into a command prompt and navigate to Computer Configuration > Windows Settings > Sec…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment