How does the "type:" function work?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
vfatica
Posts: 50
Joined: Thu May 21, 2015 7:06 pm

How does the "type:" function work?

Post by vfatica »

Are there any constants I can give to the "type:" function?
I thought maybe I could use the built-in types but when I put the following strings in the Everything Search window, or use them in Everything_SetQuery(), I get peculiar results:

type:Everything gives nothing
type:Picture gives nothing
type:audio gives an incomplete mixture of audio and video files

The best one is
type:Executable ... which gives only .JAR files!

What's up?
Thanks!

- Vince
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: How does the "type:" function work?

Post by therube »

Yep, type: is an odd one & I'm not sure just what is going on?

Typically you would think of type: being a files "extension", typically whatever follows the final "dot" (.) in a filename.

Yet type:abc returns odd results:

Code: Select all

prefs.js.abc
sessionstore.json.abc
sessionstore.json.abc
SymUIHlp.dll.29F27B3A_9E28_441B_ABC4_68298CAD2287
SymUIHlp.dll.29F27B3A_9E28_441B_ABC4_68298CAD2287
The duplicated names are OK, they're in different directories, but the Sym* entries...?
salazor
Posts: 258
Joined: Tue Jun 17, 2014 10:52 am

Re: How does the "type:" function work?

Post by salazor »

Type function - it's not about file extension, but such type: image, audio, document - with me or not until the end of this works is correct command

Code: Select all

type:audio

wait what David would say - more of a type function here
froggie
Posts: 302
Joined: Wed Jun 12, 2013 10:43 pm

Re: How does the "type:" function work?

Post by froggie »

Type: matches on the Type column, which appears to be the same as the Type column in Windows explorer (set by Windows as a description of the .xxx suffix of a file name).

Type: does a partial string match, so app will match "application" and "application extension" (.exe and .dll) where ext matches "application extension" (.dll)
vfatica
Posts: 50
Joined: Thu May 21, 2015 7:06 pm

Re: How does the "type:" function work?

Post by vfatica »

froggie wrote:Type: matches on the Type column, which appears to be the same as the Type column in Windows explorer (set by Windows as a description of the .xxx suffix of a file name).
Thanks! That seems to be consistent behavior.
And it explains how "type:Executable" turns into .JAR files. The default value in HKCR\jarfile has the data "Executable Jar File".
- Vince
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: How does the "type:" function work?

Post by therube »

(
So last night it hit me, that there exists the ext: function, so what I described above would not be correct.

> Type: matches on the Type column, which appears to be the same as the Type column in Windows explorer

Yes, that makes more sense.
(Not that I've ever paid any attention to the 'Type' column in Windows Explorer before ;-).)
)
Post Reply