The .pif, or Program Information File format was an attempt by Microsoft to have some kind of descriptive scripting language that could describe the environment an associated .exe or .com file should run in.

It had the ability to load dlls/drivers and to restart your machine (usually used to restart in dos mode) before running the associated program file.

It's a legacy format, used mostly in Windows 3.x, although it was also supported in Win9x and possibly newer versions.

This kind of file is ideal for computer viruses or worms.

PIF files are Program Information Files and are used in all versions of Microsoft Windows to associate working directory, command line arguments, an icon and virtual machine parameters (XMS/EMS/DPMI memory settings, etc) with non-Windows applications.

Windows versions 95 also have .lnk files, which are poor excuses for symlinks, and are "stripped-down" PIFs which contain not much more than the command-line to start the program and which icon Windows is to use to display it.

Log in or register to write something here or to contact authors.