🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.help
Article #53

Re: PBCatSearch: find files whose file name != x?

#53
From: alpha
Date: Mon, 08 Oct 2001 12:19
16 lines
1835 bytes
In article <troufcc45i7r84@corp.supernews.com>, Jolly Roger 
<jolly-spam-bites-roger@pobox.com> wrote:

> I have a question about PBCatSearch concerning how to set up search 
> criterea.  Currently, I can search for a file by full name by setting up 
> my criteria like this:
> 
> pb.csParam.ioSearchBits = pb.csParam.ioSearchBits | fsSBFullName;
> searchInfo1.hFileInfo.ioNamePtr = filename;
> searchInfo2.hFileInfo.ioNamePtr = NULL;
> 
> Is it possible to set up the search criterea for PBCatSearch to find all 
> files whose names do not contain a certain string?

pb.csParam.ioSearchbits=pb.csParam.ioSearchbits|fsSBfullName | 
fsSBNegate;
Technical Details
Message-ID: <alpha-0A34F4.01192309102001@news.kcbbs.gen.nz>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.direct.ca!look.ca!usenet.net.nz!news.iprolink.co.nz!kcbbs!alpha
References: <troufcc45i7r84@corp.supernews.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 101ec9,c894d87f6bc976d5
X-Google-Attributes: gid101ec9,public
X-Google-Thread: 10bcce,c894d87f6bc976d5
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,c894d87f6bc976d5
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2001-10-08 05:19:14 PST
From: alpha <alpha@kcbbs.gen.nz>
Newsgroups: comp.sys.mac.programmer.help,comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Re: PBCatSearch: find files whose file name != x?
Date: Tue, 09 Oct 2001 01:19:23 +1300
Organization: KC Computer Services
Lines: 16
Message-ID: <alpha-0A34F4.01192309102001@news.kcbbs.gen.nz>
References: <troufcc45i7r84@corp.supernews.com>
NNTP-Posting-Host: c3640-as52.kcbbs.gen.nz
X-Trace: aklobs.kc.net.nz 1002543527 22324 202.14.102.172 (8 Oct 2001 12:18:47 GMT)
X-Complaints-To: usenet@kcbbs.gen.nz
NNTP-Posting-Date: 8 Oct 2001 12:18:47 GMT
Posted-And-Mailed: yes
User-Agent: MT-NewsWatcher/3.0 (PPC)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.direct.ca!look.ca!usenet.net.nz!news.iprolink.co.nz!kcbbs!alpha