Solved How to mass delete duplicate shortcuts?

MarkC0

New member
Member
VIP
Local time
6:05 AM
Messages
153
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:

o9tAE.png


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 Computer My Computer

OS
Windows 7 Ultimate x64
CPU
i7-2600k
Motherboard
ASUS P8Z68 V-PRO
Memory
8GB 1600MHZ
Graphics Card(s)
Zotac NVIDIA GTX 580 1.5GB
Hard Drives
Intel 510 120GB SSD
Samsung Spinpoint HE103SJ HDD
PSU
NZXT HALE90 1000W PSU
Case
HAF-922
Cooling
Hyper 212
Would *mp3.ink 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 Computer My Computer

OS
Windows 7 Ultimate x64
CPU
i7-2600k
Motherboard
ASUS P8Z68 V-PRO
Memory
8GB 1600MHZ
Graphics Card(s)
Zotac NVIDIA GTX 580 1.5GB
Hard Drives
Intel 510 120GB SSD
Samsung Spinpoint HE103SJ HDD
PSU
NZXT HALE90 1000W PSU
Case
HAF-922
Cooling
Hyper 212
Back
Top