Program information file

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Category:MS-DOS)
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
| formattype            = electronic
 
| formattype            = electronic
 
| subcat                = Executables
 
| subcat                = Executables
| subcat2                =
 
| subcat3                =
 
| subcat4                =
 
| subcat5                =
 
| thiscat                =
 
 
| extensions            = {{ext|pif}}
 
| extensions            = {{ext|pif}}
| mimetypes              = application/octet-stream
+
| released              = ~1984
| locfdd                =
+
| fourccs                =
+
| pronom                =
+
| type code              =
+
| uniform type          =
+
| conforms to            =
+
| released              =  
+
| image                  =
+
| caption                =
+
 
}}
 
}}
 +
A '''Program information file''' ('''PIF''') is used by multitasking environments, mainly Microsoft Windows, to describe how to open a legacy DOS program. It contains things like the amount of available memory (conventional, high, extended, expanded), the number of rows and columns of ASCII output on screen, mouse capture, full screen mode, behaviour of the window after program termination, etc.
  
Program information file (aka PIF file) is used by the multitasking Windows environment to describe how to open a legacy DOS program. It contains things like the amount of available memory (conventional, high, extended, expanded), the number of rows and columns of ASCII output on screen, mouse capture, full screen mode, behaviour of the window after program termination, etc.
+
The original 369-byte version of the format comes from TopView by IBM. Essentially the same format is used by Windows 1 and 2. An extended version of the format is used by Windows 3+. A different extension is [[DESQview Program Information File]].
  
PIFs themselves should have no executable code, but due to the way current Windows OS handles these files, if the file with such extension were to contain an executable it would run on double click. Because of this these files should be included in virus scans.
+
== Identification ==
 +
PIF files for Windows 3+ have ASCII "{{magic|MICROSOFT PIFEX}}", followed by byte <code>0x00</code>, at offset 369.
  
==External link==
+
There doesn't seem to be a simple way to identify the original 369-byte format.
* [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/windows_dos_configure.mspx?mfr=true Microsoft's official documentation on PIF]
+
 
 +
== Specifications ==
 +
* [https://www.fileformat.info/format/pif/corion.htm The Program Information File (PIF) File Format], from FileFormat.Info and Corion.net
 +
* [https://web.archive.org/web/20220214185118/http://www.smsoft.ru/en/pifdoc.htm The PIF file format in various Windows versions] (archived)
 +
 
 +
== Sample files ==
 +
* Random examples of DOS packages that include a PIF file: [{{CdTextfilesURL|simtel/stmsdos9709/disk1/DISC1/ARCUTILS/ACZAR210.ZIP}}], [{{CdTextfilesURL|simtel/stmsdos9709/disk1/DISC1/ARCUTILS/SHEZ109.ZIP}}], [{{CdTextfilesURL|simtel/stmsdos9709/disk1/DISC1/DIRUTL/DIRSTS21.ZIP}}], [{{CdTextfilesURL|simtel/stmsdos9709/disk1/DISC1/DIRUTL/WIZ37.ZIP}}], [{{CdTextfilesURL|simtel/stmsdos9709/disk1/DISC1/FILEUTIL/FB315.ZIP}}], [{{CdTextfilesURL|simtel/stmsdos9709/disk1/DISC1/GRAPHICS/PV250.ZIP}}], [{{CdTextfilesURL|simtel/stmsdos9709/disk1/DISC1/EDUCATE/QWIZTEST.ZIP}}], [{{CdTextfilesURL|simtel/stmsdos9709/disk1/DISC1/DESKACES/SCAL9609.ZIP}}], [{{CdTextfilesURL|simtel/stmsdos9709/disk1/DISC1/DIRUTL/SEEKER12.ZIP}}], [{{CdTextfilesURL|simtel/simtel0101/simtel/diskutil/vgacp623.zip}}], [{{CdTextfilesURL|pdos9606/ARCHIVER/EXECOMP/PKLT201.ZIP}}]
 +
 
 +
Old format:
 +
* [https://archive.org/details/microsoft-windows-286-v2.1 Microsoft Windows/286 v2.1] → ... → Disk 12 → PIF/*.PIF
 +
* [https://winworldpc.com/product/topview/1x TopView 1.x] at WinWorld → AUTOPIF, etc.
 +
 
 +
== Links ==
 +
* [[Wikipedia: Program information file]]
 +
* [https://web.archive.org/web/20171224104102/https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/windows_dos_configure.mspx?mfr=true Microsoft's information about PIF files] (archived)
  
 
[[Category:Metadata]]
 
[[Category:Metadata]]
 
[[Category:Microsoft]]
 
[[Category:Microsoft]]
 +
[[Category:IBM]]
 +
[[Category:Windows]]
 +
[[Category:MS-DOS]]

Latest revision as of 19:03, 14 October 2023

File Format
Name Program information file
Ontology
Extension(s) .pif
Released ~1984

A Program information file (PIF) is used by multitasking environments, mainly Microsoft Windows, to describe how to open a legacy DOS program. It contains things like the amount of available memory (conventional, high, extended, expanded), the number of rows and columns of ASCII output on screen, mouse capture, full screen mode, behaviour of the window after program termination, etc.

The original 369-byte version of the format comes from TopView by IBM. Essentially the same format is used by Windows 1 and 2. An extended version of the format is used by Windows 3+. A different extension is DESQview Program Information File.

Contents

[edit] Identification

PIF files for Windows 3+ have ASCII "MICROSOFT PIFEX", followed by byte 0x00, at offset 369.

There doesn't seem to be a simple way to identify the original 369-byte format.

[edit] Specifications

[edit] Sample files

Old format:

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox