Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Read and write Windows "shortcut" links

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

in reply to Read and write Windows "shortcut" links

See also Win32::Unicode::Shortcut
  • Comment on Re: Read and write Windows "shortcut" links

Replies are listed 'Best First'.
Re^2: Read and write Windows "shortcut" links (exiftool .lnk)
by Anonymous Monk on Feb 22, 2013 at 13:40 UTC

    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

      Excellent. Thank you!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2020-09-25 00:39 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (136 votes). Check out past polls.