delorie.com/archives/browse.cgi | search |
Date: | Mon, 24 Jan 2000 17:26:41 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Netpower <kjelke AT netpower DOT no> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Get files from directory |
In-Reply-To: | <86hlpo$hu3$1@news.netpower.no> |
Message-ID: | <Pine.SUN.3.91.1000124172509.12997H-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | dj-admin AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Mon, 24 Jan 2000, Netpower wrote: > How can I iterate through all files/folders in a folder? > C++ in DOS. Read the docs of library functions `opendir' and `readdir'. These are Posix-standard functions, so they exist in many other compilers. If you want a (somewhat faster) DOS-specific solution, use `findfirst' and `findnext'.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |