Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Reading .PIF Files

Posted on 2000-03-27
Last Modified: 2010-05-02

I was wondering if anyone out there has the code to read and/or change the program information files (.PIF)? Thanks for any help!

Question by:ianpugh
LVL 14

Accepted Solution

mcrider earned 200 total points
ID: 2661743
Go to http://wotsit.org/ and do a search on "pif" (without the quotes).

The format of a PIF file is there...

LVL 14

Expert Comment

ID: 2661963

Microsoft gives severe caveats about PIF files.. as their formats are heavily Windows Version (and Version within a Version) dependent. As such MS, does not support or publish any PIF documentation.What makes matters worse, the little MS PIF b*stards use check digiting to thwart updating attempts.

This is really a very hard question as to the fact, that I have yet to know anyone that has version independently, reliably cracked the PIF format.

I will follow this question with GREAT interest.. <smile>.

Expert Comment

ID: 2662126
Check out "http://www.thescarms.com/VBasic/" and search for "shortcut"
The article "Create Shortcuts (Shell Links) with iShellLnk" and sample code is a partial implementation of the IShelllink interface.  As I recall it works for both PIF and LNK files.  I have no idea about version dependency since I have worked only with LNK.


Author Comment

ID: 2684274
Sorry it took so long! I've been out of town..
LVL 14

Expert Comment

ID: 2685005
Thanks for the points! Glad I could help!


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question