J44xm said:
["Brian Pipa"; Sun, 11 Apr 2004 03:04:05 GMT]
EasyCleaner from
http://www.toniarts.com will do this and much more.
I see that it \deletes\ invalid shortcuts, but not that it \repairs\ them.
Otherwise, nice-lookin' app.
I have a little program in my archives that does this. It does a scout for
the correct path of broken links, then modifies the .lnk when successful.
You can also do a second round of action, if interested, for optional
deletes of .lnks that cannot be resolved.
The name is Shortcutter (2.0), by GoldenFrog. Google turns out a page for
it here:
http://www.webtree.ca/newlife/shortcutter_info.htm
It says for 95/98, but that'd be because it was written in '96, when XP
et al did not yet exist. I think it ought work fine on the later OS,
since the .lnk format has not changed. But of course one would need to
test to be sure.
By the way, it's not a program I can say I've used regularly. Rather,
I only just now ran it through some paces. These rounds, from what I
can observe, it passes quite fine.
Btw, it does have you select a full drive at a time. I consider this
much better than just processing the startmenu path, as some of the .lnk
cleaning utilities do it.
If you try it, be sure to start with the Options dialog, before having
it run. There is where you choose to have it "Find Link Target" and where
you deselect having it do its other scans, ie for empty files and empty
folders.
Notice that when it has done its scan and resolve, you can select the
"Links Active" or the "Links Broken" nodes in the tree pane, for reviewing
what it has dealt with. There you have a list of those.lnks, with a table
of detailed information about them.
From there, too, you have the choice of additional actions. Such as
launching, deleting, using whatever explorer context menu actions you
have, investigating, etc. (Makes me wish this utility also gave such
a turn-out for all lnks, not just the ones that need resolution.)
Oh, one more observation. Just now I created an .lnk from my removable
drive, to verify that it scanned for target it everywhere. Then I renamed
the source path. Shortcutter managed to resolve the target instantly.
The speed is really quite amazing. I've witnessed some other programs,
who don't even try to do more than find invalid + delete, dig around so
slowly they almost grind audibly, like tractors. This little rabbit is
the opposite. I got amazing speed both for the drive scan (it doesn't
seem phased if you have a tonnage of partitions and files and links),
and then in the specific test mentioned, for its resolving/repairing.