Remove .lnk from shortcuts
-
kiwichick
- Posts: 676
- Joined: 08 Aug 2012 04:14
- Location: Windows 10 Pro 22H2, 150% scaling
Remove .lnk from shortcuts
Hi there, Is it possible to remove (or hide) the .lnk extension from file/folder shortcuts? Cheers.
Windows 10 Pro 22H2
-
highend
- Posts: 14955
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Remove .lnk from shortcuts
Removing -> No, you would render them useless.
Hiding -> Only the extension while showing all others? Don't know a way to do it.
If you just want to hide all files with this extension from the current list, use a filter:
filter ".lnk hidden" !*.lnk;
Hiding -> Only the extension while showing all others? Don't know a way to do it.
If you just want to hide all files with this extension from the current list, use a filter:
filter ".lnk hidden" !*.lnk;
One of my scripts helped you out? Please donate via Paypal
-
kiwichick
- Posts: 676
- Joined: 08 Aug 2012 04:14
- Location: Windows 10 Pro 22H2, 150% scaling
Re: Remove .lnk from shortcuts
Thanks highend, Sorry, No I didn't mean to actually remove them. In windows there's a registry value to hide the "- shortcut" extension and I was just wondering if the same could be done in XYplorer.
Windows 10 Pro 22H2
-
highend
- Posts: 14955
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Remove .lnk from shortcuts
You can hide extensions in XY but not specific ones (at least I don't know any way to do this).
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Remove .lnk from shortcuts
Cannot be done. IMO hiding the LNK extension is a security problem in Explorer. My T-shirt says: Showing LNK extensions and proud!
FAQ | XY News RSS | XY X
-
kiwichick
- Posts: 676
- Joined: 08 Aug 2012 04:14
- Location: Windows 10 Pro 22H2, 150% scaling
Re: Remove .lnk from shortcuts
Yes I can see how some might see that as a security issue. But it's nice to have the option in Explorer. I find the shortcut arrow tells me when something is a shortcut and I don't execute it unless I know, or check, what it is. And if Explorer used ".lnk" for their shortcut extension I guess it wouldn't be quite so bad but it doesn't. It uses "- Shortcut" and that is a right pain to look at if you use lots of shortcuts. So at least XY doesn't use that too, with no way to hide it 
Windows 10 Pro 22H2
-
admin
- Site Admin
- Posts: 66366
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Remove .lnk from shortcuts
My Explorer uses ".lnk", respectively attaches "- shortcut.lnk" to the name.kiwichick wrote:Yes I can see how some might see that as a security issue. But it's nice to have the option in Explorer. I find the shortcut arrow tells me when something is a shortcut and I don't execute it unless I know, or check, what it is. And if Explorer used ".lnk" for their shortcut extension I guess it wouldn't be quite so bad but it doesn't. It uses "- Shortcut" and that is a right pain to look at if you use lots of shortcuts. So at least XY doesn't use that too, with no way to hide it
FAQ | XY News RSS | XY X
-
highend
- Posts: 14955
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Remove .lnk from shortcuts
The "- shortcut" text can be avoided (for new links): http://www.howtogeek.com/howto/windows- ... -in-vista/
Works for Win 7 as well.
Works for Win 7 as well.
One of my scripts helped you out? Please donate via Paypal
-
kiwichick
- Posts: 676
- Joined: 08 Aug 2012 04:14
- Location: Windows 10 Pro 22H2, 150% scaling
Re: Remove .lnk from shortcuts
Yes, thanks, I know how to remove the " - shortcut" extension in Windows. It's one of the first I things I do with a new/reinstalled computer. I've been doing it for so many years that I've become used to seeing my shortcuts without any extension at all and that's why I asked if the same can be done for the ".lnk" extension in XYplorer.
Windows 10 Pro 22H2
XYplorer Beta Club