Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Shell
Application Support
User Profiles
About User Profiles
 Profiles Directory
Profiles Directory

The system stores user profile information in the Profiles directory. This directory is typically a subdirectory of the Microsoft Windows NT/Microsoft Windows 2000/Windows XP root directory. To obtain the path of the Profiles directory, use the GetProfilesDirectory function.

Each user has a profile stored in the Profiles directory. The Profiles directory contains the following subdirectories for user profiles.

DirectoryDescription
All UsersProfile information that applies to all users.
Default UserProfile information that applies to the default user.
UserProfile information that applies to the specified user.

To obtain the location of the All Users directory, call the GetAllUsersProfileDirectory function. This directory contains the following subdirectories:

DirectoryDescription
DesktopShortcuts to display on the desktop.
Start MenuMenu items for the Start menu.

To obtain the location of the Default Users directory, call the GetDefaultUserProfileDirectory function. To obtain the location of a particular user's directory, call the GetUserProfileDirectory function. These directories contain the following subdirectories. Directories in italics indicate directories that are hidden by default. You can view these directories by selecting Folder Options on the Tools menu and then changing the option on the View tab.

DirectoryDescription
Application DataApplication-specific data.
DesktopShortcuts to display on the desktop.
CookiesWindows Internet Explorer cookies.
Local SettingsApplication settings and data that do not roam with the profile. Usually the settings or data in this directory are computer-specific, or they are too large to roam effectively. This directory contains the following subfolders:
  • Application Data
  • History
  • Temp
  • Temporary Internet Files
FavoritesLinks to favorite Web sites.
My DocumentsThe default location for documents that the user creates. Applications should save document files to this directory by default. This directory is called Personal on computers running Windows NT.
NetHoodShortcuts to Network Neighborhood items.
PrintHoodShortcuts to printer folder items.
RecentShortcuts to the most recently used documents.
SendToShortcuts to locations to which the user often sends files.
Start MenuMenu items for the Start menu.
TemplatesShortcuts to template items.

To obtain the location of subdirectories of these directories, use the SHGetFolderPath or SHGetKnownFolderPath functions.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker