On Dec 17, 2007, at 9:28 AM, James G. Sack (jim) wrote:

Anybody know if there is Linux tool to create a DOS shortcut file, so
that for instance I can create a shortcut on a USB mounted vfat.

You're talking about a Windows '.lnk' file - the thing that shows up on a Windows desktop as a shortcut to a program (with the little arrow in the corner) right?

If so, this newsgroup thread is the most detailed thing I could dig up:
http://decenturl.com/groups.google/how-to-create-windows-shortcut

The summary of that is "nothing available, but here's some C code that exposes the internals of the file format."

And here's the code: http://www.wotsit.org/list.asp?al=L
(find LNK in the table and download the .zip file)

So... if you're feeling like exercising your programming skills, this might make an interesting project!

--
Joshua Penix                                http://www.binarytribe.com
Binary Tribe           Linux Integration Services & Network Consulting


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to