How to resolve broken shortcuts?
-
- Posts: 6
- Joined: Mon Jun 24, 2024 11:42 pm
How to resolve broken shortcuts?
HI. I'm using Alpha1.5.
I've already setup shortcut links in the column and used a wildcard search to find all my .lnk file.
I'm basically launching to test each shortcut and then opening path to replace the broken .lnk with a new .lnk.
But I have 1000 shortcuts so this is time-consuming.
1. How do I quickly paste in the correct link into the data that shows under the shortcut target column?
2. Is there a more efficient way to resolve broken shortcuts?
I've already setup shortcut links in the column and used a wildcard search to find all my .lnk file.
I'm basically launching to test each shortcut and then opening path to replace the broken .lnk with a new .lnk.
But I have 1000 shortcuts so this is time-consuming.
1. How do I quickly paste in the correct link into the data that shows under the shortcut target column?
2. Is there a more efficient way to resolve broken shortcuts?
Re: How to resolve broken shortcuts?
To show lnk files where the target doesn't exist:
Formulas
Fix the target here.
Everything doesn't support editing properties directly. yet...
Code: Select all
*.lnk !exists($shortcut-target:)
Right click the lnk file and click Properties.How do I quickly paste in the correct link into the data that shows under the shortcut target column?
Fix the target here.
Everything doesn't support editing properties directly. yet...
-
- Posts: 6
- Joined: Mon Jun 24, 2024 11:42 pm
Re: How to resolve broken shortcuts?
Thanks, I used this and I tried the links it showed, but they were working.
Re: How to resolve broken shortcuts?
!exists($shortcut-target:)
Are the targets outside your indexed filenames?
-
- Posts: 6
- Joined: Mon Jun 24, 2024 11:42 pm
Re: How to resolve broken shortcuts?
I don't understand what to put in the bracketed target.
The Drive containing all my shortcuts and most of the target drives they link to is also indexed.
Re: How to resolve broken shortcuts?
Nothing, leave it as literally:
Everything will automatically replace $shortcut-target: with the target from the lnk file.
!exists($shortcut-target:)
Everything will automatically replace $shortcut-target: with the target from the lnk file.
-
- Posts: 6
- Joined: Mon Jun 24, 2024 11:42 pm
Re: How to resolve broken shortcuts?
I still don't understand the intent behind the search term.
For example, if my broken MysteryApp.lnk points to My$t3ry App 5.2.exe, then what will happen once I enter that search, and what will I need to do immediately afterwards?
Re: How to resolve broken shortcuts?
!exists($shortcut-target:)
You can then manually fix these lnks.
-
- Posts: 6
- Joined: Mon Jun 24, 2024 11:42 pm
Re: How to resolve broken shortcuts?
Okay thanks. amongst the broken *.lnk files with typical directory-based targets, there are also working *.lnks with atypical targets, which has caused confusion:
*.lnk files with atypical targets include the following formats;
search-ms:displayname=%20Search%20programs%20and%20files&crumb=System.Generic.String%3A(advanced%20shar)&crumb=location:%3A%3A{DAF95313-E44D-46AF-BE1B-CBACEA2C3065}\Manage advanced sharing settings
shell:::{AD1405D2-30CF-4877-8468-1EE1C52C759F}\Apps\B9ECED6F.ASUSPCAssistant_qmba6cd70vzyy!App
Re: How to resolve broken shortcuts?
Consider ignoring those types of targets with the following search:
Code: Select all
*.lnk !shortcut-target:search-ms: !shortcut-target:"shell:" !exists($shortcut-target:)
-
- Posts: 6
- Joined: Mon Jun 24, 2024 11:42 pm
Re: How to resolve broken shortcuts?
There was 1-2 working .lnk directory-based shortcuts that defied the formula, but other than than it was a lot cleaner!void wrote: ↑Tue Jun 25, 2024 1:53 am Consider ignoring those types of targets with the following search:
Code: Select all
*.lnk !shortcut-target:search-ms: !shortcut-target:"shell:" !exists($shortcut-target:)
TYSM!