gtchen@faline.bellcore.com (George T. Chen) (08/25/87)
Sorry if this has been asked before or if it seems trivially easy, but... can anyone tell me how to get a directory from inside a Turbo C program? Nothing I try seems to work. George Chen
zentrale@rmi.UUCP (08/26/87)
In article <1311@faline.bellcore.com> gtchen@faline.UUCP (George T. Chen) writes:
: can anyone tell me how to get a directory from inside a Turbo C program?
:
: George Chen
Please, lok into the Turbo C Reference Guide p. 87. You'll find a short
example doing just this using findfirst() and findnext().
Rupert Mohr
kls@hpsila.UUCP (08/29/87)
Directories can also be obtained by: system("DIR"); pg 235 of TC Ref. Guide.