Mail Archives: djgpp/1997/03/12/09:36:06
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).
- Raw text -