🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5754

Re: Read all dirs (with wildcards)

#5754
From: Steve Aletto
Date: Mon, 11 Jul 2005 14:20
13 lines
1377 bytes
> I want to see all directories in that contains the word "soft" 
> on the end something like
>
> dir *soft
>
> how can I get this with code?

Have a look at FindFirstFile/FindNextFile/FindClose. Wildcards 
can be used as file name. If you don't strictly need an API 
solution, VCL has its own FindFirst/FindNext/FindClose functions 
as well.

Steve. 
Technical Details
Message-ID: <42d28000$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42d27bfe$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fcae796750f56a3e
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com>
From: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42d27bfe$1@newsgroups.borland.com>
Subject: Re: Read all dirs (with wildcards)
Date: Mon, 11 Jul 2005 16:20:24 +0200
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 81.208.124.114
Message-ID: <42d28000$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1121091584 81.208.124.114 (11 Jul 2005 07:19:44 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail