Fla$her wrote: 2024-10-11, 10:48 UTC 2ghisler(Author)
In any case, you need to make a decision on the second question with help and the variables Desktop vs Fonts, Programs, StartMenu and Startup.
As we can see, DESKTOP/Desktop is present in two lists, the rest are only in the first list, although they are in the API of the second.Environment variables
4. Pseudo environment variables from parameters of the function ShGetSpecialFolderLocation.
DESKTOP,
PROGRAMS,
STARTMENU,
STARTUP,
FONTS,
5. Pseudo environment variables from parameters of the function SHGetKnownFolderPath.
Desktop,
It's necessary to level the situation. Either remove Desktop from the second list, or add the missing ones to it.