CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2004
    Posts
    166

    Retrieve the logged-in user's Documents&Settings folder name

    Hi,

    How can I get the actual Documents&Settings folder name for the current logged-in user? (Specifically the "Application Data" folder)
    Ex:
    C:\Documents and Settings\USER NAME\Application Data

    Thx!

  2. #2
    VictorN's Avatar
    VictorN is online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,395

    Re: Retrieve the logged-in user's Documents&Settings folder name

    SHGetFolderPath with CSIDL_APPDATA parameter
    Victor Nijegorodov

  3. #3
    Join Date
    May 2004
    Posts
    166

    Re: Retrieve the logged-in user's Documents&Settings folder name

    Quote Originally Posted by VictorN View Post
    SHGetFolderPath with CSIDL_APPDATA parameter
    Thx a lot!
    Last edited by yaniv_av; May 14th, 2009 at 09:22 AM. Reason: the problem was solved

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured