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

Similar help and support threads for2: How to mass delete duplicate shortcuts?
Thread Forum
Solved Duplicate context menu entries on folder shortcuts General Discussion
Solved Can't delete shortcuts in games Gaming
Solved Duplicate Invalid Shortcuts on Desktop General Discussion
Solved how to delete shortcuts from desktop General Discussion
Solved Messed up shortcuts won't delete Customization
unable to delete shortcuts General Discussion
Duplicate shortcuts in the taskbar Customization

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 05:31 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33