Properties of shortcut to be used in search criteria

General discussion related to "Everything".
Post Reply
str
Posts: 3
Joined: Wed Sep 14, 2016 1:56 pm

Properties of shortcut to be used in search criteria

Post by str »

Hi everybody.
I have been trying to find a certain folder within our server, I was not able to.
Finally I got the Everything ver 1.3.4.686 and I used it quite a bit since than.
Now I'm trying to find files with .lnk extension (which are shortcuts), which they are pointing to a specific file path.

Just with typing .lnk I am getting a few hundred thousand results.

Thanks a lot
therube
Posts: 4978
Joined: Thu Sep 03, 2009 6:48 pm

Re: Properties of shortcut to be used in search criteria

Post by therube »

If you want to search in a particular directory tree, just enter that tree.

If you're wanting to search for .lnk files that point to a particular tree, then you'd need to search within the .lnk files themselves for the particular tree.

The former:

Code: Select all

C:\TMP\SOME_DIRECTORY\SUB_DIRECTORY\  .lnk
For the latter, 1.4.0.713b Beta has the ability to search within files:

Code: Select all

.lnk   content:SUB_DIRECTORY
str
Posts: 3
Joined: Wed Sep 14, 2016 1:56 pm

Re: Properties of shortcut to be used in search criteria

Post by str »

Thanks for the reply, I really appreciate it.
I'm trying to get .lnk files that point to a particular drive.

I used this code;

Code: Select all

.lnk content:g:\
As I want to find all the shortcuts pointing anywhere in drive G.

The result was empty although I have .lnk pointing to that drive.

Thanks a lot
therube
Posts: 4978
Joined: Thu Sep 03, 2009 6:48 pm

Re: Properties of shortcut to be used in search criteria

Post by therube »

I'm on XP & can do something like:

Code: Select all

"E:\Documents and Settings\therube\SendTo\"  .lnk  content:c:\
Note that a .lnk is (essentially) a binary file, one that can contain textual data too.
So might try, Search | Advanced Search... & mess around with the settings there (content type in particular) & see if something doesn't turn up?
str
Posts: 3
Joined: Wed Sep 14, 2016 1:56 pm

Re: Properties of shortcut to be used in search criteria

Post by str »

Thank you so much.
I got the files I wanted.
therube
Posts: 4978
Joined: Thu Sep 03, 2009 6:48 pm

Re: Properties of shortcut to be used in search criteria

Post by therube »

Wanted to drop back & say that your code even works on my end ;-).

Code: Select all

.lnk  content:g:\
Finds:

E:\Documents and Settings\RUBEN\Desktop\AIA.LNK
Everything .lnk search content g.png
Everything .lnk search content g.png (17.22 KiB) Viewed 2872 times

(On my end, G: is mapped back to my C: drive.)
Post Reply