3 ms·
The problem in Windows' case is that there never was a clear specification regarding what kinds of files should go where. The directory structure and environme
by CamperBob2 7y ago
The problem in Windows' case is that there never was a clear specification regarding what kinds of files should go where. The directory structure and environment in every version of Windows is a little different, and it's hard to write an app (or an installer) that does the right thing on all of them.
- Too 7y agoAs long as you follow knownfolderid nothing has changed since Vista, or CSIDL constants go even further back. https://docs.microsoft.com/en-us/archive/blogs/patricka/where-should-i-store-my-data-and-configuration-files-if-i-target-multiple-os-versions https://docs.microsoft.com/en-us/archive/blogs/patricka/wher... https://docs.microsoft.com/en-us/windows/win32/shell/csidl https://docs.microsoft.com/en-us/windows/win32/shell/csidl .NET has its own set which is also very old and goes back to .NET 1.0 (as old as Win98) https://docs.microsoft.com/en-us/dotnet/api/system.environment.specialfolder?view=netframework-1.1 https://docs.microsoft.com/en-us/dotnet/api/system.environme...
- CamperBob2 7y agoI think the combination of complexity and obscurity of those two links reinforces my point more than it refutes it. There's a reason why basically no one gets this stuff 100% right, including some of Microsoft's own first-party applications.