🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

FindFirst and filenames with numbers (File Mask)

#64
From: M Tuttle
Date: Wed, 21 Jan 2004 17:16
29 lines
1463 bytes
Greetings All,

I have a directory that contains the following files

...
10265435.DBF
10265435.CDX
10265435.FPT
90562514.DBF
90562514.CDX
90562514.FPT
BANK.DBF
BANK.CDX
BANK.FPT
...

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 you a
file mask of *.DBF.  Is there any file mask I can specify that would delete
just the numeric filenames?

Any tips appreciated.

Thanks to all who reply.

-- 
Michael Tuttle
Software Technologies, Inc.
Topeka, KS
Technical Details
Message-ID: <400eb3d3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!stdio!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,2a58c55146961e15,start
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-01-21 09:30:07 PST
From: "M Tuttle" <miket@softtechks.com>
Newsgroups: borland.public.delphi.nativeapi
Subject: FindFirst and filenames with numbers (File Mask)
Date: Wed, 21 Jan 2004 11:16:10 -0600
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 68.102.168.247
Message-ID: <400eb3d3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074705363 68.102.168.247 (21 Jan 2004 09:16:03 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!stdio!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail