News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

View .lnk extension in explorer

Started by Magnum, April 27, 2010, 07:45:42 PM

Previous topic - Next topic

Magnum

For those who don't like the file extension for .lnk not being shown
in Explorer, this reg file fixes that. Works thru XP Sp3

My reason for seeking this is because you can't zip up .lnk files because the archiver can't see them unless you use a command line version, like wzzip.

Con

Doing so, makes all your desktop icons acquire a .lnk at the end of the name.

DON'T delete the extension, or your icons will not work anymore. :-(


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\lnkfile]
@="Shortcut"
"EditFlags"=dword:00000001
"IsShortcut"=""

[HKEY_CLASSES_ROOT\lnkfile\CLSID]
@="{00021401-0000-0000-C000-000000000046}"

[HKEY_CLASSES_ROOT\lnkfile\shellex]

[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\Offline Files]
@="{750fdf0e-2a26-11d1-a3ea-080036587f03}"

[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\{00021401-0000-0000-C000-000000000046}]

[HKEY_CLASSES_ROOT\lnkfile\shellex\DropHandler]
@="{00021401-0000-0000-C000-000000000046}"

[HKEY_CLASSES_ROOT\lnkfile\shellex\IconHandler]
@="{00021401-0000-0000-C000-000000000046}"

[HKEY_CLASSES_ROOT\lnkfile\shellex\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\lnkfile\shellex\PropertySheetHandlers\ShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"
Have a great day,
                         Andy

dedndave

i can ZIP a LNK file with right-click - Send to
XP Pro (MCE2005) SP2
it's the only way to send a shortcut to someone on messenger, for example

Magnum

Quote from: dedndave on April 27, 2010, 08:02:50 PM
i can ZIP a LNK file with right-click - Send to
XP Pro (MCE2005) SP2
it's the only way to send a shortcut to someone on messenger, for example

Why would you send a shortcut to someone?
It seems like it would not work on their desktop.

Maybe I am not understanding what you said.



Have a great day,
                         Andy

dedndave

QuoteMy reason for seeking this is because you can't zip up .lnk files because the archiver can't see them unless you use a command line version, like wzzip.

sometimes, if i am helping someone with their computer on messenger, i want to send them a shortcut
for their desktop that points to Explorer.exe, but has a few parameters...

%SystemRoot%\explorer.exe /e,C:\

it's easier to send them a shortcut than tell them how to make it
that is just one example

Magnum

Quote from: dedndave on April 28, 2010, 01:19:08 AM
QuoteMy reason for seeking this is because you can't zip up .lnk files because the archiver can't see them unless you use a command line version, like wzzip.

sometimes, if i am helping someone with their computer on messenger, i want to send them a shortcut
for their desktop that points to Explorer.exe, but has a few parameters...

%SystemRoot%\explorer.exe /e,C:\

it's easier to send them a shortcut than tell them how to make it
that is just one example

I do use wzzip.
It's the only thing that works in bat files.

Have a great day,
                         Andy

dedndave

i could probably find an old PKZip command line program around here someplace if wzzip doesn't do what you want