Search Question

General questions about using TextPad

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

Post Reply
dforrest
Posts: 44
Joined: Mon Jan 19, 2004 11:19 pm
Location: St. Vincent and the Grenadines

Search Question

Post by dforrest »

Can I use TextPad to find files NOT containing a particular string?
schnitzi
Posts: 19
Joined: Mon May 12, 2003 8:36 am

Re: Search Question

Post by schnitzi »

dforrest wrote:Can I use TextPad to find files NOT containing a particular string?

How can you use TextPad to do that? Use it to write a program
that does it. ;-)

Seriously, I think that may be the only way...
bveldkamp

Re: Search Question

Post by bveldkamp »

dforrest wrote:Can I use TextPad to find files NOT containing a particular string?
Find a pc version of grep and add it as a tool to textpad, I believe it's included with the NT or 2K Resource kit, or maybe somewhere on microsoft.com (powertools or powertoys or whatever they call it)
grep -v finds files not containing a certain string.
User avatar
talleyrand
Posts: 625
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

You actually don't even have to do that much work. There is a command on at least Windows 2000 called 'find' find /v "someString" will show every line not containing it.
I choose to fight with a sack of angry cats.
bveldkamp

Post by bveldkamp »

talleyrand wrote:You actually don't even have to do that much work. There is a command on at least Windows 2000 called 'find' find /v "someString" will show every line not containing it.
Whoops, forgot about that one. Guess I should have checked my DOS 2.0 command reference :oops:
Post Reply