Link to home
Start Free TrialLog in
Avatar of ianpugh
ianpugh

asked on

Reading .PIF Files

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
ASKER CERTIFIED SOLUTION
Avatar of mcrider
mcrider

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wsh2
wsh2

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


Avatar of ianpugh

ASKER

Sorry it took so long! I've been out of town..
Thanks for the points! Glad I could help!

Cheers!®©