Bug 136861

Summary: Add MS Windows shortcut file.lnk file and mime type
Product: [Frameworks and Libraries] kio Reporter: jg
Component: generalAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description jg 2006-11-05 02:32:38 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages
OS:                Linux

Hello,

Could the LNK file-type/mime-type be added please.  "file" regonises it.

$ file minibrowser.lnk
minibrowser.lnk: MS Windows shortcut

WINE has code to parse a LNK file if you need some more info:
http://source.winehq.org/source/tools/winedump/lnk.c

This is the first few lines of a LNK file I came accross

00000000  4c 00 00 00 01 14 02 00  00 00 00 00 c0 00 00 00  |L...............|
00000010  00 00 00 46 fb 40 00 00  20 00 00 00 00 88 0e cf  |...F.@.. .......|
00000020  f5 95 c6 01 00 d8 1b 66  62 a8 c6 01 00 88 0e cf  |.......fb.......|
00000030  f5 95 c6 01 00 b0 00 00  00 00 00 00 01 00 00 00  |................|
Comment 1 Bram Schoenmakers 2006-11-05 12:55:04 UTC

*** This bug has been marked as a duplicate of 85348 ***
Comment 2 jg 2006-11-05 15:20:34 UTC
Hi, I was also interested with the mime type and file identification being added, at present it is Unknown. The bug 85348 is more about use of the LNK files transparently in KDE as I understand it.
Jon