delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/12/08:16:22

From: "Bob Dole" <bdole AT dolekemp96 DOT org>
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! <VBG>

Bob Dole <bdole AT dolekemp96 DOT org> 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! 
> 
> 

- Raw text -


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