delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/27/21:40:26

From: chongkong AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: getting all filename in sub-directory
Date: Wed, 28 Jul 1999 00:24:02 GMT
Organization: Deja.com - Share what you know. Learn what you don't.
Lines: 15
Message-ID: <7nliit$uvc$1@nnrp1.deja.com>
NNTP-Posting-Host: 164.78.252.6
X-Article-Creation-Date: Wed Jul 28 00:24:02 1999 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)
X-Http-Proxy: 1.0 x39.deja.com:80 (Squid/1.1.22) for client 164.78.252.6
X-MyDeja-Info: XMYDJUIDchongkong
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

is there any sample code to do a recursive process for file of a
certain extension from a parent directory and its sub-directory?

i thinking of using system("dir > tmpfilename")
and then checking tmpfilename.

or is there a much better way

but i really have no clue on how to go on and search all the sub-
directory



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019