FindFirst and File Mask

From: M Tuttle (miket_at_softtechks.com)
Date: 01/21/04


Date: Wed, 21 Jan 2004 11:19:20 -0600

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 use 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


Relevant Pages