To find the location of special folders (like the Desktop etc), do not even think about the username - as it doesn't actually need to be related to the names of the folders (there is also the issue that the parent folders can be called something else, and/or be on a different drive).

Instead you should use the API's designed for finding paths, a good example of which can be seen here.


edit: it seems I was slow, and was last in the rush.