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 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 "" 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
String manipulation in Visual Basic 7 60
MS Access Search and Replace Using VBA 6 57
Run code from text file in vb 1 57
MS Date Picker 64 bit 32 bit issue 12 49
Introduction In a recent article ( for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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 …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

867 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now