Thread View: comp.sys.mac.programmer.help
2 messages
2 total messages
Started by Jolly Roger
Thu, 04 Oct 2001 15:01
PBCatSearch: find files whose file name != x?
Author: Jolly Roger
Date: Thu, 04 Oct 2001 15:01
Date: Thu, 04 Oct 2001 15:01
10 lines
1399 bytes
1399 bytes
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?
Re: PBCatSearch: find files whose file name != x?
Author: alpha
Date: Mon, 08 Oct 2001 12:19
Date: Mon, 08 Oct 2001 12:19
16 lines
1835 bytes
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;
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads