Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How to mass delete duplicate shortcuts?

19 Oct 2012   #1

Windows 7 Ultimate x64
How to mass delete duplicate shortcuts?

I've created a folder with shortcuts to all my songs; about 3,000 in total.

The problem is that it's created duplicate shortcuts for most songs:

How would I go about deleting the duplicates? The duplicates share the same name, just with ".lnk" at the end.

I've tried using the following AutoHotkey scripts but none of these worked, they ended up deleting every file in the folder.
FileDelete, F:\Music\myshortcuts\*lnk*.*
FileDelete, F:\Music\myshortcuts\*.lnk
FileDelete, F:\Music\myshortcuts\*lnk*

Any suggestions? Thanks.

My System SpecsSystem Spec
19 Oct 2012   #2

Windows 7 Ultimate x64

Would * work?
My System SpecsSystem Spec
20 Oct 2012   #3

Windows 7 Ultimate x64

Quote   Quote: Originally Posted by parman View Post
Would * work?
Thank you. It did not work as planned using the FileDelete command however I used the following line and the problem is now solved.

FileMove, F:\Music\myShortcuts\*.mp3.lnk, F:\Music\mynewShortcuts\
My System SpecsSystem Spec


 How to mass delete duplicate shortcuts?

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
Which duplicate(s) to delete?
Been using Glary's Utilities 3 to clean things up. When I ran its "Duplicate" cleaner, there were many duplicates with iTunes and my pictures. My problem is that I don't know which to delete and which to keep. Here are screen shots to give you an idea of what the duplicate scan showed (BTW,...
Performance & Maintenance
Duplicate context menu entries on folder shortcuts
I have a folder, called "HG", full of various folder shortcuts which I use as a custom toolbar on my taskbar, system is W7Pro@x64. (The very purpose of that toolbar is to let me access HG repositories on various folders). Recently, the folder shortcuts started misbehaving: on the context menu,...
General Discussion
How Do I Delete An Old Duplicate Windows?
Hi there, I told my buddy I wanted to reformat my computer. He went to do that by installing a new Windows 7 64 bit for me, but somehow, I now am operating on the new Windows 7 but my old Windows 7 still exist and is taking up enough space in my hard drive to annoy me :geek: Can someone...
Installation & Setup
Duplicate Invalid Shortcuts on Desktop
Desktop shows duplicate shortcuts but they cannot be moved or deleted. They are superimposed on the valid one. The valid one can be moved off them but they cannot be moved or deleted. When I right click on desktop and choose "View" and un-check "Show desktop icons" they remain there, all...
General Discussion
unable to delete shortcuts
i bought this computer yesterday, and when i press f1 this help program comes up. and that goes from f1-f12. how do i delete these shortcuts, cause there really interupting my game.
General Discussion
Duplicate shortcuts in the taskbar
A few days ago, when I added Google Chrome to my taskbar, all of my other icons disappeared. When I replaced them, they all had a (2) after their names and I when I tried to get rid of it by renaming them it said that a shortcut with that name already existed. How can I delete the icons that I...

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:48.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App