delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/04/05:01:41

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: problems with findfirst
Date: 4 Dec 2002 09:36:36 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 16
Message-ID: <askib4$56$2@antares.lu.erisoft.se>
References: <28777 DOT 1038993684 AT www18 DOT gmx DOT net>
NNTP-Posting-Host: lws256.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

lscholta AT gmx DOT de wrote:
: Hello, 
: I have a problem with "findfirst": I have written a program which is
: searching for *.c files in the current directory and in subdirectories. Although i
: have add "FA_DIREC",it works only in the current directory but files in
: subdirectories were not found. Where is the problem? Use the latest version for
: Windows NT. Please help.Thanks.

You seem to have misunderstood what FA_DIREC does. It doesn't find
recursively. It returns the (sub)directories in the findfirst()ed
directory.


Right,

						MartinS

- Raw text -


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