I\'m writing a C# Windows application to update a .ini file for a legacy application. I don\'t have the source for the legacy application, so I cannot modify it.
The
This started with Vista to increase security. If an app tries to write to a location that is protected (like ini files written to the app's folder under ProgramFiles, or to the Windows folder, the app's reads and writes to that file are redirected to a folder in C:\Users{username}\AppData\Local\VirtualStore\