Is there any simple, automatable method of check for a .lnk file validity?

I mean I got a couple of directories whith these shorcuts to apps, and the only way I know if the executable file stills where the link file points, is to look if the icon appears to be ok... weird.

So I want some sort of command or light tool (oss will be greatly appreciated) to check and perhaps delete any "broken .lnk" in a directory


  • Are you taking about symbolic-links (also known as junction points) or shortcuts? – Alexey Ivanov Mar 29 '13 at 11:59
  • shorcuts, .lnk files. I wrote that 'symbolic links' betwen quotes because I'm a linux guy and didn't know that new windows OSes support a kind of s-links. – theist Apr 3 '13 at 9:58
  • @theist - This would be a good point to remove symbolic links from your question if your asking about shortcuts since symbolic links do exists in the Windows world. – Ramhound Apr 3 '13 at 11:05
  • @Ramhound I changed the tags from symbolic-links to shorcuts. And that other reference in text is quoted, meaning 'not exactly' the rest of the text and the title talks about Shorcuts or .lnk files. Do you think question isn't clear enough? – theist Apr 4 '13 at 9:47
  • @theist - I still think you shouldn't mention symbolic links since your asking about shortcuts, and shortcuts, are NOT symbolic links. – Ramhound Apr 4 '13 at 11:10

Try ChkLnks.exe by Microsoft. How To Clean Broken Shortcuts In Windows 7

There are some free apps as well to do the same. Apps to get rid of Broken Shortcuts

| improve this answer | |
  • 2
    Or if you prefer using scripts...this article depicts working with shortcuts using Windows Powershell. windowsitpro.com/powershell/… – Gh0sT Apr 3 '13 at 11:07
  • Yeah @Gh0sT . In fact in my home box this is fixed with a perl script runing with ActiveState's perl under windows... but I was looking for a 'user' solution :). I'll try your recomendation. – theist Apr 4 '13 at 9:42

MS’s FixKit can check common ones for you automatically...


| improve this answer | |
  • uff strange tool. Once downloaded present a long and unuseful list of "things this can do" After select one who match my problem, it opens IE to download a long named exe. And asks to reboot... If anything of these wouldn't come from MS sites I will think that I've installed some sort of trojan. To be continued... – theist Mar 20 '13 at 7:14
  • After restart seems like that tool can fix several problems I had and I dindn't know, And my broken links still there. – theist Mar 21 '13 at 7:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.