.PIF

PIF File

Microsoft Windows Program Information File
Ask a question
QUICK ANSWER

A PIF file is a legacy Windows configuration shortcut that told Windows how to run an MS-DOS program - how much memory to give it, what window size to use, and which EXE to launch. Windows Vista and later removed PIF support; on Windows 10 and 11 a PIF file is essentially a dead artifact. If you received one by email or download, treat it with caution - on older Windows it was a known malware delivery method.

Developer: Microsoft Corporation Category: Executable Files MIME: application/x-msdos-program
OPENS ON Windows
Related: .APK · .EXE · .VBS · .JAR

On this page

19k+ extensions indexed
Last reviewed Jul 7, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the PIF file format?

The .pif file format takes its name from Program Information File. This file extension is related to MS-DOS as well as the Windows operating system, specifically the settings needed to run a 16-bit DOS program inside a Windows multitasking environment.

.pif files are mainly used as a shortcut or configuration wrapper pointing to an original .exe, .com, or .bat file. They store settings such as the window title, path to the executable, start directory, memory allocation (minimum and maximum kilobytes), screen mode, and - in later versions - DPMI memory and font preferences. The .pif format itself contains no executable code and is not a program.

The format originated with IBM TopView in 1984 and was adopted by Windows 1.0 (1985). It evolved through Windows 3.x and Windows 9x/NT/2000/XP, gaining extended blocks for 32-bit and NTVDM settings. Windows Vista and later no longer support .pif as a native shortcut type; the .lnk shortcut format introduced in Windows 95 is its effective successor.

Security note: Windows XP and earlier treated .pif files as executable - double-clicking one would launch the target program. Explorer also hid the .pif extension by default, so a file named photo.jpg.pif appeared as photo.jpg, a technique exploited by malware. This attack vector no longer applies on Windows Vista and later.

Security & safety

RISK: MEDIUM

On Windows Vista and later, PIF files are essentially inert and pose minimal risk. On Windows XP and earlier, PIF files were a known malware delivery vector: malicious EXE payloads were distributed as .pif files which Explorer would execute on double-click while hiding the .pif extension (showing only the fake .jpg/.pdf name). If you receive a .pif file via email or download from the internet, treat it with caution - it may be a legacy attack artifact. Modern antivirus software flags suspicious PIF files.

Format details

in a nutshell
FULL NAMEMicrosoft Windows Program Information Fileaka PIF shortcut, DOS PIF
DEVELOPERMicrosoft Corporationsince 1984 (IBM TopView; inherited by Windows 1.0, 1985)
MIME TYPEapplication/x-msdos-program
TYPEbinary configuration/shortcut file
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001
HEX
0078
ASCII
·x
PIF files lack a universal magic number. Approximately 15% start with 0x00 0x78. The file does NOT have the MZ (4D 5A) DOS executable header. Total file size is typically 960 bytes (original TopView format) or 1024-2048 bytes (extended Windows format).

Programs that open PIF files

Windows2 apps
Microsoft Windows (XP and earlier) Paid On Windows XP/2000: double-click launches the target DOS EXE with stored settings. Right-click → Properties opens the PIF editor to modify settings. NOT supported on Windows Vista+.
Any text/hex editor (inspection only) Free Open PIF in a hex editor (HxD) to inspect the binary structure and identify the embedded EXE path. The EXE path starts at byte offset 30 in the first block.

Technical details

deep spec
EncodingBinary (fixed-size block structure)
Byte orderLittle-endian
Base block size960 bytes (original TopView-compatible block)
Extended format size1 KB - 2 KB with Windows-specific extension blocks (font, screen, DPMI, environment settings)
Executable codeNone - PIF contains configuration data only; no MZ executable header present
Stored parametersWindow title (30-byte ASCII), EXE path, start directory, min/max memory (KB), screen/video mode flags
Format originIBM TopView (1984); adopted by Microsoft Windows 1.0 (November 1985)
OS compatibilityWindows 1.0 through Windows XP; not recognized as a shortcut type in Windows Vista and later
Successor format.lnk shell shortcut (Windows 95+)
MIME typeapplication/x-msdos-program
Magic bytesNo universal signature; ~15% of files start with 0x00 0x78; MZ (4D 5A) executable header is absent
Legacy security riskWindows XP and earlier executed PIF on double-click; Explorer hid the extension, enabling malware disguised as image files
Released1984 (IBM TopView; inherited by Windows 1.0, 1985)
Latest versionExtended PIF format used through Windows XP/2003 (Windows 7+ no longer use PIF)

PIF conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with PIF files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about PIF files.

Frequently asked questions

What is a PIF file?
A legacy Windows shortcut/configuration file used in Windows 3.1 through Windows XP to specify how to run an MS-DOS program in a multitasking environment. Contains no executable code itself.
Can I open a PIF file on Windows 10 or 11?
Windows Vista and later do not support PIF files natively. You can inspect the binary content with a hex editor, but the shortcut functionality no longer works.
Is a PIF file dangerous?
On modern Windows (Vista+), PIF files are inert. On Windows XP and earlier, PIF files were used to deliver malware (disguised as image or document files). On modern systems, risk is low.
What replaced PIF files?
.lnk shortcut files (introduced with Windows 95) replaced PIF for shortcuts. Modern Windows uses .lnk for all program shortcuts.
Why does Windows say it cannot open a PIF file?
Windows Vista and later removed PIF file support. The file was designed for Windows XP/2000 or earlier. If you need to run the associated DOS program, you may need DOSBox or a Windows XP virtual machine.
Can a PIF file contain a virus?
A PIF file contains no code itself, but it can point to a malicious EXE. Pre-Vista, disguising malware as a PIF with a misleading name (e.g. photo.jpg.pif) was a common attack technique.

References

1Wikipedia - Program information fileen.wikipedia.org
2justsolve.archiveteam.org - Program information filejustsolve.archiveteam.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.MDMarkdown Document
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.DATProgram Data File (generic)
10.TXTPlain Text File

Related extensions

.APKAndroid Package
.EXEWindows Executable (Portable Executable)
.VBSVBScript file (Visual Basic Script)
.JARJava Archive
.EX4MetaTrader 4 Compiled Program (Expert Advisor / Indicator / Script)
.APPXMicrosoft Windows App Package (AppX)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z