Date: Mon, 24 Jan 2000 17:26:41 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Netpower cc: djgpp AT delorie DOT com Subject: Re: Get files from directory In-Reply-To: <86hlpo$hu3$1@news.netpower.no> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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'.