←back to thread

276 points rbanffy | 8 comments | | HN request time: 0.89s | source | bottom
1. mmastrac ◴[] No.44006007[source]
Remember the good old days of editing PIF (Program Information Files) files [⁂]? Ah yeah.

Googling a bit, it looks like a lot of this lore has just been lost. I don't know if there are modern explanations of PIF files kicking around.

⁂ I realize this is an ATM machine phrasing, but we called them PIF files in the day.

replies(6): >>44006802 #>>44007670 #>>44008347 #>>44009953 #>>44010798 #>>44011336 #
2. deaddodo ◴[] No.44006802[source]
There's still plenty of information on the file format kicking around:

https://www.fileformat.info/format/pif/corion.htm

https://web.archive.org/web/20220214185118/http://www.smsoft...

As well as a basic explanation of the file's purpose:

http://justsolve.archiveteam.org/wiki/Program_information_fi...

replies(1): >>44008148 #
3. hk1337 ◴[] No.44007670[source]
> PIF

it's also an onomatopoeia for opening up a can of biscuits

4. mmastrac ◴[] No.44008148[source]
The second link is exactly what I was hoping for, but only seems to exist on the archive. I wasn't able to locate it or other detailed information with my cursory searches. I'm glad it was preserved.
5. GranPC ◴[] No.44008347[source]
Back in the day, sending the string ".pif" to any MSN Messenger group chat was enough to immediately disable it for everyone. Fun way of dealing with spam :)
6. fredoralive ◴[] No.44009953[source]
It’s basically just configuration data for MS-DOS apps running under Windows (or some over MS-DOS multitaskers). Stuff like EMS and XMS memory amounts, various config options etc.

Fun fact: under the hood, PIF files are sent to the same ShellExecute function as EXEs, and if you have an EXE with a PIF extension, it runs the EXE code as normal.

Funnier fact: In Windows 95 and onwards, the UI presents PIFs as a special case of shortcuts, and as with LNK files, Windows always hides (hid?) the extension, even if you have “always show extensions” on. When I get home, I’ll have to check if Windows 11 still has this behaviour…

Edit: Yeah, creating a copy of calc.exe in my ~/Documents folder and renaming it calc.docx.pif does result in a working calculator file that presents gives its name as "calc.docx", albeit with a "shortcut to generic file" icon and a type of "Shortcut to MS-DOS Program" despite the fact that I can't think of any legitimate reason to do anything with a real PIF file on Windows 11 (24H2).

7. layer8 ◴[] No.44010798[source]
Pretty unconventional to use an asterism as a footnote symbol.
8. ◴[] No.44011336[source]