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: 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