is it possible to search by filename (not inside file)?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
rpsmith
Posts: 1
Joined: Fri May 16, 2014 7:12 pm

is it possible to search by filename (not inside file)?

Post by rpsmith »

Hi,

I want to search for all .vbs files on my local drive.
How would I do this in TextPad?

Thanks,
Regan
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

The question is: WHY do you want to do this in textpad?

Why not use Windows File Search for that?


If you really want to do that in Textpad:
Use Find in files,
use a search expression that can be found in each file (like Regex . for a single character, or ^ for a line start).
For "In Files", use *.vbs,
and at "Report Detail" use File counts only.

Abusing textpad for such a search will take much longer, as you can only do it by searching for something in each file, thus each *.vbs file needs to be opened.
Windows file search does NOT need to open the files, it can decide by the file name alone ...
User avatar
kengrubb
Posts: 324
Joined: Thu Dec 11, 2003 5:23 pm
Location: Olympia, WA, USA

Post by kengrubb »

I concur with Mudguard. Why use TP for this?

However, on Mudguard's question of why not use Windows Search, I answer "because it sucks!"

As such, I use FileLocator Pro.
(2[Bb]|[^2].|.[^Bb])

That is the question.
Post Reply