Bug 136861 - Add MS Windows shortcut file.lnk file and mime type
Summary: Add MS Windows shortcut file.lnk file and mime type
Status: RESOLVED DUPLICATE of bug 85348
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-05 02:32 UTC by jg
Modified: 2006-11-05 15:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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