Add new meta types for "find by type" dropdown

Features wanted...
Post Reply
JMThomas
Posts: 8
Joined: 20 Oct 2015 19:29

Add new meta types for "find by type" dropdown

Post by JMThomas »

There are 13 generic types of files defined in the Find/Name & Location drop down: All Files, Text Files, Image Files, Photo, Audio, Video, ....

I would like to see another generic type: Program Source Files, e.g. .c, .cpp, .h, .py, .asm, .vbs, .rex, .wsh, .js, .perl, .....

Given the large number of languages, etc. one can see several new generic types like Visual Studio, GNU CCC, Interpreters, Scripts, etc.

I understand these 13 lists are "hard coded", but increasing this number beyond 13 by adding a couple of new lists (as opposed to the ini hack for extending an existing list) would be great!

Thanks.

admin
Site Admin
Posts: 60696
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Add new meta types for "find by type" dropdown

Post by admin »

It's an idea.

In the meantime check out the /types switch. Quoting the help file:

Code: Select all

Examples for the Types switch:

Use the /types switch to setup an inline custom type filter.

· If this type filter is set, only files are returned, no folders. 

· Generic file types are supported, e.g. {:Image}. 

· Variables are supported in the value, e.g. <date mmdd>. 

· Wildcards are supported. This gives you nice options when looking for items by their extensions. 

Examples:

· Search two folders for all files not older than 14 days of types JPG, PING, or PONG:
E:\Test\a;E:\Test\b?ageM: <= 14 d /types=jpg;ping;pong 

· Search the current folder for all files "a*" or "b*" of types JPG or PNG:
a*;b* /types=jpg;png
Note that without this switch you had to do something like this to achieve the same:
(a* or b*) and (*.jpg or *.png) 

· Combine extensions and generic file types:
ageM: <= 14 d /types=txt;{:Image};pop 

· Using wildcards:
/types=????*      Find all files with extensions of length 4 or more
/types=??;????    Find all files with extensions of length 2 or 4
/types=i*;j*      Find all files with extensions beginning with i or j 

Post Reply