|
-
Sep 4th, 2008, 07:18 AM
#5
Re: How to get current user?
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|