Date: Mon, 16 Mar 1998 17:07:11 +0200 (IST) From: Eli Zaretskii To: Will Fong cc: djgpp AT delorie DOT com Subject: Re: Filename snooping with DJGPP In-Reply-To: <350D321D.70469665@cyberstation.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 16 Mar 1998, Will Fong wrote: > In DJGPP (running on a DOS/Win95 platform), is there a way to change > directories? There's a library function called `chdir' which you should use. > And when in the directory, to determine all the file names in that > directory and store just the filenames to an array? Use the library functions `opendir' and `readdir'. All of these are documented in the library reference. To read the docs of any function, type "info libc alpha " from the DOS prompt, where is the name of the function. For example: info libc alpha opendir