5 ms·
I wonder how much global work could have been saved if Microsoft also provided a covered interface for all paths in the system. Not sure if there is any, but on
by hetspookjee 5y ago
I wonder how much global work could have been saved if Microsoft also provided a covered interface for all paths in the system. Not sure if there is any, but one good implementation might save thousands of poor implementations required to handle it.
- Too 5y agoYou have %Appdata% and friends.
- moontear 5y agoYou mean like the Environment.SpecialFolders enum? https://docs.microsoft.com/en-us/dotnet/api/system.environment.specialfolder?view=net-5.0 https://docs.microsoft.com/en-us/dotnet/api/system.environme... There are several other classes that take care of getting folders, least of which checking system variables.