Date: Wed, 12 Mar 1997 16:03:14 +0200 (IST) From: Eli Zaretskii To: Bob Dole cc: djgpp AT delorie DOT com Subject: Re: Working with directories using [DJGPP] C - HELP! In-Reply-To: <01bc2e95$14066720$f3b700d0@uberdatamaster> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 12 Mar 1997, Bob Dole wrote: > I'm wondering if anyone knows how to directly access directory listings > through DJGPP C. Say I wanted to scan the entire HD's directory structure > for certin file(s), how would I go about doing this? I don't know of any > command that could help me. If you mean you need to do this from your program, use library functions findfirst/findnext or opendir/readdir. They are described in the library reference docs. If you need to do that from the DOS command line, the best tool is the GNU find program, available in the Findutils package (v2gnu/find41b.zip from the same place you get DJGPP).