delorie.com/archives/browse.cgi | search |
Date: | Thu, 18 May 2000 11:52:33 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | djgpp AT delorie DOT com |
Subject: | Re: Directory listing |
In-Reply-To: | <39235740.11D751AF@gtcom.net> |
Message-ID: | <Pine.SUN.3.91.1000518115130.12245T-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Wed, 17 May 2000, Krogg wrote: > What i want in the listing is all files that match "*.c" > and the names of the subdirectories.... > > here is my sample code...how can i change it to > print out the subdirectories and the "*.c" files? Pass "*.*" to findfirst, then use the fnmatch function to filter the files which match the "*.c" pattern.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |