UserProfile

From Environment Variables
Jump to: navigation, search

UserProfile environment variable represents the path to the user's profile folder. [1]

echo %UserProfile%
C:\Users\{username}

Default value

The default value of UserProfile environment variable depends on the operating system. In Windows XP it is C:\Documents and Settings\{username}, while on Windows Vista & Windows 7 it is C:\Users\{username}.[2]

References

  1. Environment Variable Reference
  2. Wikipedia

See also

AllUsersProfile | AppData | CD | ClientName | CmdCmdLine | CmdExtVersion | CommonProgramFiles | ComputerName | ComSpec | Date | ErrorLevel | HomeDrive | HomePath | LocalAppData | LogonServer | Number Of Processors | OS | Path | PathExt | Processor Architecture | Processor Identifier | Processor Level | Processor Revision | ProgramFiles | Prompt | Random | SessionName | SystemDrive | SystemRoot | Temp | Time | Tmp | UserDnsDomain | UserDomain | UserName | UserProfile | WinDir


Personal tools
Namespaces

Variants
Actions
Navigation
Catalogue
Google AdSense
Tools