ProgramFiles

From Environment Variables
Jump to: navigation, search

ProgramFiles environment variable points to Program Files directory, which stores all the installed program of Windows and others. Value of the ProgramFiles variable depends on whether the process requesting the environment variable is itself 32-bit or 64-bit (this is caused by Windows-on-Windows 64-bit redirection).[1]

echo %ProgramFiles%
C:\Program Files

echo %ProgramFiles(x86)%
C:\Program Files (x86)

Default value

The default value of ProgramFiles environment variable on English-language systems is C:\Program Files. In 64-bit editions of Windows (XP, 2003, Vista, 7), there are also ProgramFiles(x86) environment variable which defaults to C:\Program Files (x86) and ProgramW6432 environment variable which defaults to C:\Program Files.[1]

References

  1. 1.0 1.1 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