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
Solved

Reading .PIF Files

Posted on 2000-03-27
5
285 Views
Last Modified: 2010-05-02
Hello--

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

Ian
0
Comment
Question by:ianpugh
5 Comments
 
LVL 14

Accepted Solution

by:
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...



Cheers!®©
0
 
LVL 14

Expert Comment

by:wsh2
ID: 2661963
mcrider:

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>.
0
 
LVL 2

Expert Comment

by:bhamilto
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.


0
 
LVL 1

Author Comment

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

Expert Comment

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

Cheers!®©
0

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