News for hackers. Stuff that matters.
Re:I'm “still afraid to use spaces in file names” years old by hetspookjee on Thursday November 11, 2021 @12:29PM (#29190581)
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.
Re:I'm “still afraid to use spaces in file names” years old by moontear on Thursday November 11, 2021 @12:36PM (#29190654)
You mean like the Environment.SpecialFolders enum?

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.

Re:I'm “still afraid to use spaces in file names” years old by Too on Saturday November 13, 2021 @02:55AM (#29208224)
You have %Appdata% and friends.