🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: FindFirst and filenames with numbers (File Mask)

#66
From: Ignacio Vazquez
Date: Wed, 21 Jan 2004 17:35
14 lines
1281 bytes
M Tuttle wrote:

> Is there any file mask I can
> specify that would delete just the numeric filenames?

No, but what you can do is pass the filename to ExtractFileName and
then use ChangeFileExt to strip off the extension, then just do a quick
scan of what's left to see if it's a number.

-- 
Cheers,
  Ignacio

Help improve Delphi: http://qc.borland.com/
Technical Details
Message-ID: <400eb897$1@newsgroups.borland.com>
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: <400eb3d3$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,2a58c55146961e15
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-01-21 09:40:31 PST
From: "Ignacio Vazquez" <ivazquezATorioncommunications.com>
Subject: Re: FindFirst and filenames with numbers (File Mask)
Newsgroups: borland.public.delphi.nativeapi
References:  <400eb3d3$1@newsgroups.borland.com>
User-Agent: XanaNews/1.15.8.4
Date: Wed, 21 Jan 2004 12:35:55 -0500
X-Face: "vB?T(BzQ.k]bLY]iut{y#_|XA,X(Z![<<.+ciPo/uxw1ZPQ[E`']vXq5~4T]SNb"0QA1%S
 qQUIU5D4Ynn&cDYOt9!I3
NNTP-Posting-Host: 64.119.101.2
Message-ID: <400eb897$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074706583 64.119.101.2 (21 Jan 2004 09:36:23 -0700)
Lines: 14
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