Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: Read and write Windows "shortcut" links (exiftool .lnk)

by Anonymous Monk
on Feb 22, 2013 at 13:40 UTC ( #1020160=note: print w/replies, xml ) Need Help??

in reply to Re: Read and write Windows "shortcut" links
in thread Read and write Windows "shortcut" links

If you're curious about the binary .lnk format read Image::ExifTool::LNK

exiftool can read .lnk files and dump the data without using Win32::OLE , works even on linux

$ exiftool local.file.xp.test ExifTool Version Number : 9.13 File Name : local.file.xp.test Directory : D:/shellify.0.4.src/ShellifyTest/Fil +es File Size : 498 bytes File Modification Date/Time : 2010:07:24 10:19:18-07:00 File Access Date/Time : 2013:02:22 05:10:21-08:00 File Creation Date/Time : 2013:02:22 02:27:09-08:00 File Permissions : rw-rw-rw- File Type : Windows Shortcut MIME Type : application/octet-stream Flags : IDList, LinkInfo, RelativePath, Work +ingDir, Unicode File Attributes : Archive Create Date : 2004:08:19 05:16:19-07:00 Access Date : 2010:07:09 00:37:36-07:00 Modify Date : 2004:08:05 04:00:00-07:00 Target File Size : 2 Icon Index : (none) Run Window : Normal Hot Key : (none) Target File DOS Name : desktop.ini Drive Type : Fixed Disk Volume Label : SYSTEM Local Base Path : C:\WINDOWS\desktop.ini Relative Path : .\desktop.ini Working Directory : C:\WINDOWS Machine ID : al-0145

Replies are listed 'Best First'.
Re^3: Read and write Windows "shortcut" links (exiftool .lnk)
by jdporter (Canon) on Feb 22, 2013 at 14:46 UTC

    Excellent. Thank you!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020160]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2020-10-25 00:13 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (248 votes). Check out past polls.