Getting multiple file names with TC

Bart Simpson jeffs at tsdiag.ccur.com
Tue Feb 20 02:04:57 AEST 1990


To get multiple file names with Turbo C there are 2 ways.
 
  The first way is to use findfirst for the first file and
then findnext for the rest.  The only problem is findfirst/
findnext only gives you the file name without the disk:/dir
I found I had to use fnsplit/fnmerge along with findfirst/
findnext to get everything.

  The second way is described in the TC manual of doing it the
UNIX way of expanding the file names on the start line and
using argv argc and going throug them...  I don't know if
the full path is given???

Jeff Schnell



More information about the Comp.lang.c mailing list