Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

.LNK files, need information on the ItemID list structure

$
0
0
I am still working on this project due to the lack of information provided by MSDN. I am working on parsing a .lnk (windows shortcut/shell link) file. With about three days of googling and staring at a hex editor, im at a loss. The MSDN documentation skips the information that i'm looking for which would be the extra data in the TargetIDList section before the actual unicode characters.

This is the structure information provided: http://msdn.microsoft.com/en-us/library/dd891268.aspx
This is an example provided by MSDN : http://msdn.microsoft.com/en-us/library/dd871375.aspx

All it says is the first two bytes is the size of the entire data section and somewhere in the mix of data is the unicode characters that i need. It does not tell me what the extra information is, nor does it tell me how to get the size of the extra data to skip past it and go straight to the unicode.

Does anyone have some more resources that would have the information im looking for, or anything that could shed some light on this??

I looked at about ten different .lnk files in a hex editor to see if the extra data amount is consistant, and its not. The only ones that are consistant are either the ones created the same way or when the .lnk files are in the same folder. Not sure which one yet.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>