From: "bowman" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: Geting the Directory Listing Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: <3e8W2.323$3h1.322@newsfeed.slurp.net> Date: Thu, 29 Apr 1999 20:05:07 -0600 NNTP-Posting-Host: 208.4.224.182 X-Trace: newsfeed.slurp.net 925437951 208.4.224.182 (Thu, 29 Apr 1999 21:05:51 CDT) NNTP-Posting-Date: Thu, 29 Apr 1999 21:05:51 CDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com John Carbrey wrote in message news:mu7W2.26051$134 DOT 298339 AT tor-nn1 DOT netcom DOT ca... > How can I geyt the Directory Listing in dos? I have been trying to use some > examples I have found however, using the dos interupt doesn't seem to give > me the proper result. Does any one have some code examples? Assuming you mean from within a C executable, type 'info libc a findfirst' at the DOS prompt to see the documentation on the library function 'findfirst'. Then type 'n' to see the next node, 'findnext'.