![]() | This article needs to be updated.(January 2025) |
Program Files is the directory name of a standard folder in Microsoft Windows operating systems in which applications that are not part of the operating system are conventionally installed. Typically, each application installed under the 'Program Files' directory will have a subdirectory for its application-specific resources. Shared resources, for example resources used by multiple applications from one company, are typically stored in the 'Common Files' directory.
In a standard Windows installation, the 'Program Files' directory will be at %SystemDrive%\Program Files
(or the localized equivalent thereof), and the 'Common Files' (or the localized equivalent thereof) will be a subdirectory under 'Program Files'. In Windows Vista and later, the paths to the 'Program Files' and 'Common Files' directories are not localized (translated) on disk. Instead, the localized names are NTFS junction points to the non-localized locations. Additionally, the Windows shell localizes the name of the Program Files folder depending on the system's user interface display language.
Both 'Program Files' and 'Common Files' can be moved. At system startup, the actual paths to 'Program Files' and 'Common Files' are loaded from the Windows registry, where they are stored in the ProgramFilesDir
and CommonFilesDir
values under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
. They are then made accessible to the rest of the system via the volatile environment variables %ProgramFiles%
, and %CommonProgramFiles%
. Applications can also obtain the locations of these paths by querying the Setup API
using dirids
, or through Windows Management Instrumentation, or by querying the shell using CSIDLs, or ShellSpecialFolderConstants
. These are all localization-independent methods.
x86-64 and IA-64 versions of Windows have two folders for application files: The Program Files folder serves as the default installation target for 64-bit programs, while the Program Files (x86) folder is the default installation target for 32-bit programs that need WoW64 emulation layer. While 64-bit Windows versions also have a %ProgramFiles(x86)%
environment variable, the dirids and CSIDLs are not different between 32-bit and 64-bit environments; the APIs merely return different results, depending on whether the calling process is emulated or not. [1]
To be backwards compatible with the 8.3 limitations of the old File Allocation Table filenames, the names 'Program Files', 'Program Files (x86)' and 'Common Program Files' are shortened by the system to progra~N
and common~N
, where N is a digit, a sequence number that on a clean install will be 1 (or 1 and 2 when both 'Program Files' and 'Program Files (x86)' are present).
If Windows is installed on an NTFS volume, by default, the 'Program Files' folder can only be modified by members of the 'Administrators' user groups. This can be an issue for programs created for Windows 9x. Those operating systems had no file system security, and programs could therefore also store their data in 'Program Files'. Programs that store their data in 'Program Files' will usually not run correctly on Windows NT systems with normal user privileges unless security is lowered for the affected subdirectories.
Windows Vista addressed this issue by introducing File and Registry Virtualization. When this UAC virtualization is enabled for a process, Windows saves changes to the 'Program Files' folder to %LocalAppData%\VirtualStore\Program Files (x86)
. [2]
"Program Files" appeared in Windows 95. "Common Files" appeared in Windows 98. [3]
An unknown Windows NT version uses "Common" instead of "Common Files". [4] Windows 2000 does not seem to exhibit this behavior. [3] The CSIDL documentation mentions that "CSIDL_PROGRAM_FILES_COMMON" requires Shell32 version 5.0 (Windows 2000 and ME), but says it is only valid on Windows XP (6.0). [5]
Language of Windows | Name of the folder that stores program files | Name of the folder that stores shared program files |
---|---|---|
English | Program Files | Common Files |
Arabic | Program Files (ملفات البرامج (x86) for WoW64) | Common Files |
Chinese (Simplified, Traditional, Taiwan) | Program Files | Common Files |
Czech | Program Files | Common Files |
Danish | Programmer | Fælles filer |
Dutch | Program Files | Common Files |
Finnish | Program Files | Common Files |
French | Programmes * | Fichiers communs |
German | Programme | Gemeinsame Dateien |
Hebrew | Program Files | Common Files |
Hellenic (Greek) | Αρχεία Εφαρμογών | Common Files |
Hungarian | Programfájlok | Common Files |
Italian | Programmi | File comuni |
Japanese | Program Files | Common Files |
Korean | Program Files | Common Files |
Norwegian | Programfiler | Fellesfiler |
Polish | Program Files (Pliki programów (x86) for WoW64) | Common Files |
Portuguese | Programas | Ficheiros comuns |
Portuguese (Brasil) | Arquivos de Programas | Arquivos comuns |
Romanian | Program Files | Common Files |
Russian | Program Files | Common Files |
Spanish | Archivos de programa | Archivos comunes |
Swedish | Program | Delade filer |
Turkish | Program Files (Program Dosyaları (x86) for WoW64) | Common Files |
* In Windows Vista and later versions. (The folder name was the same as in English in the older versions of Microsoft Windows.) | ||
An 8.3 filename is one that obeys the filename convention used by CP/M and old versions of DOS and versions of Microsoft Windows prior to Windows 95 and Windows NT 3.5. It is also used in modern Microsoft operating systems as an alternate filename to the long filename, to provide compatibility with legacy programs. The filename convention is limited by the FAT file system. Similar 8.3 file naming schemes have also existed on earlier CP/M, TRS-80, Atari, and some Data General and Digital Equipment Corporation minicomputer operating systems.
In computing, a symbolic link is a file whose purpose is to point to a file or directory by specifying a path thereto.
File Explorer, previously known as Windows Explorer, is a file manager application and default desktop environment that is included with releases of the Microsoft Windows operating system from Windows 95 onwards. It provides a graphical user interface for accessing the file systems, as well as user interface elements such as the taskbar and desktop.
Windows XP Professional x64 Edition is an edition of Microsoft's Windows XP operating system that supports the x86-64 architecture. It was released on April 25, 2005, alongside the x86-64 versions of Windows Server 2003.
The Encrypting File System (EFS) on Microsoft Windows is a feature introduced in version 3.0 of NTFS that provides filesystem-level encryption. The technology enables files to be transparently encrypted to protect confidential data from attackers with physical access to the computer.
The Windows Registry is a hierarchical database that stores low-level settings for the Microsoft Windows operating system and for applications that opt to use the registry. The kernel, device drivers, services, Security Accounts Manager, and user interfaces can all use the registry. The registry also allows access to counters for profiling system performance.
In a computer file system, a fork is a set of data associated with a file-system object. File systems without forks only allow a single set of data for the contents, while file systems with forks allow multiple such contents. Every non-empty file must have at least one fork, often of default type, and depending on the file system, a file may have one or more other associated forks, which in turn may contain primary data integral to the file, or just metadata.
File attributes are a type of metadata that describe and may modify how files and/or directories in a filesystem behave. Typical file attributes may, for example, indicate or specify whether a file is visible, modifiable, compressed, or encrypted. The availability of most file attributes depends on support by the underlying filesystem where attribute data must be stored along with other control structures. Each attribute can have one of two states: set and cleared. Attributes are considered distinct from other metadata, such as dates and times, filename extensions or file system permissions. In addition to files, folders, volumes and other file system objects may have attributes.
In computing, a file shortcut is a handle in a user interface that allows the user to find a file or resource located in a different directory or folder from the place where the shortcut is located. Similarly, an Internet shortcut allows the user to open a page, file or resource located at a remote Internet location or Web site.
System Restore is a feature in Microsoft Windows that allows the user to revert their computer's state to that of a previous point in time, which can be used to recover from system malfunctions or other problems. First included in Windows Me, it has been included in all following desktop versions of Windows released since, excluding Windows Server. In Windows 10, System Restore is turned off by default and must be enabled by users in order to function. This does not affect personal files such as documents, music, pictures, and videos.
System File Checker (SFC) is a utility in Microsoft Windows that allows users to scan for and restore corrupted Windows system files.
Compared with previous versions of Microsoft Windows, features new to Windows Vista are numerous, covering most aspects of the operating system, including additional management features, new aspects of security and safety, new I/O technologies, new networking features, and new technical features. Windows Vista also removed some others.
The Prefetcher is a component of Microsoft Windows which was introduced in Windows XP. It is a component of the Memory Manager that can speed up the Windows boot process and shorten the amount of time it takes to start up programs. It accomplishes this by caching files that are needed by an application to RAM as the application is launched, thus consolidating disk reads and reducing disk seeks. This feature was covered by US patent 6,633,968.
On Microsoft Windows, a special folder is a folder that is presented to the user through an interface as an abstract concept instead of an absolute folder path. Special folders make it possible for any application to ask the operating system where an appropriate location for certain kinds of files can be found; independently of which version or user language of Windows is being used.
There are a number of security and safety features new to Windows Vista, most of which are not available in any prior Microsoft Windows operating system release.
NTFS links are the abstraction used in the NTFS file system—the default file system for all Microsoft Windows versions belonging to the Windows NT family—to associate pathnames and certain kinds of metadata, with entries in the NTFS Master File Table (MFT). NTFS broadly adopts a pattern akin to typical Unix file systems in the way it stores and references file data and metadata; the most significant difference is that in NTFS, the MFT "takes the place of" inodes, fulfilling most of the functions which inodes fulfill in a typical Unix filesystem.
In computing, the trash, also known by other names such as trash bin, dustbin, wastebasket, and similar names, is a graphical user interface desktop metaphor for temporary storage for files set aside by the user for deletion, but which are not yet permanently erased. This lifts the burden from the user of having to be highly careful while selecting files for deletion, since a trash bin provides a grace period to reverse unwanted deletions. The concept and name is part of Mac operating systems; a similar implementation is called the Recycle Bin in Microsoft Windows, and other operating systems use other names, sometimes ending with "-bin".
Microsoft Windows profile refers to the user profile that is used by the Microsoft Windows operating system to represent the characteristics of the user.
In computing on Microsoft platforms, WoW64 is a subsystem of the Windows operating system capable of running 32-bit applications on 64-bit Windows. It is included in all 64-bit versions of Windows, except in Windows Server Server Core where it is an optional component, and Windows Nano Server where it is not included. WoW64 aims to take care of many of the differences between 32-bit Windows and 64-bit Windows, particularly involving structural changes to Windows itself.
CSIDL_PROGRAM_FILES_COMMON FOLDERID_ProgramFilesCommon Version 5.0. A folder for components that are shared across applications. A typical path is C:\Program Files\Common. Valid only for Windows XP.