Reading MS-DOS directory in C, how to

jimmy pingpong at milton.acs.washington.edu
Wed Feb 14 16:48:55 AEST 1990


In article <1990Feb14.031640.28944 at usenet.ins.cwru.edu> dkazdan at cwsys2.cwru.edu (David Kazdan) writes:
>
>I would like to read the current directory in a C program, but either

Try : getcwd(string, 80);  /* char string[80]; */

Hope this helps.

Jimmy. 



More information about the Comp.lang.c mailing list