🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #67

Re: FindFirst and File Mask

#67
From: Mike Williams (TeamB)
Date: Wed, 21 Jan 2004 16:48
12 lines
1272 bytes
On 21 Jan 2004, "M Tuttle" <miket@softtechks.com> wrote:

> I was trying to write a utility that would delete all files from a
> specific directory where the filename was numeric.  As you can see I
> cannot use a file mask of *.DBF.  Is there any file mask I can specify
> that would delete just the numeric filenames?

No.  The MS wildcards are only * and ?.  Your only choice is to use *.* and 
test each filename yourself for the numerics.

-- 
-Mike (TeamB)
Technical Details
Message-ID: <Xns9477824D7A203mikewteamb@207.105.83.66>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <400eb491$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,3032b452282f4808
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-01-21 10:10:47 PST
Newsgroups: borland.public.delphi.nativeapi
Subject: Re: FindFirst and File Mask
From: "Mike Williams (TeamB)" <mikew@remove.aps-soft.com>
References: <400eb491$1@newsgroups.borland.com>
Organization: APS, Inc
Message-ID: <Xns9477824D7A203mikewteamb@207.105.83.66>
User-Agent: Xnews/5.04.25
NNTP-Posting-Host: 66.107.65.98
Date: 21 Jan 2004 09:48:32 -0700
X-Trace: newsgroups.borland.com 1074707312 66.107.65.98 (21 Jan 2004 09:48:32 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail