From: "Bob Dole" Newsgroups: comp.os.msdos.djgpp Subject: Re: Working with directories using [DJGPP] C - HELP! Date: 12 Mar 1997 03:41:44 GMT Organization: Republican Party Lines: 21 Message-ID: <01bc2e96$f87c5080$f3b700d0@uberdatamaster> References: <01bc2e95$14066720$f3b700d0 AT uberdatamaster> NNTP-Posting-Host: comm3-pool-7.rm.monad.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Ahhh yes, it appears I can answer my own question with help from previous messages: DIR (file.spec) /B /S >TEMP.DAT To produce a list of the files you want searched into a file... This is great! I can't wait to try it out! Bob Dole wrote in article <01bc2e95$14066720$f3b700d0 AT uberdatamaster>... > Hello! > 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. Possibly getting a dir listing by doing "dir > >dir.txt" and interpreting that file might work (with a lot of work), but > it's a little too kludgy. (last resort) > Anyway, thanks! > >