Kim Forwood wrote in a message to David Chord:
> I need some help with my program. The user enters
> the path to install my program to ie C:\MYPROG which is read
> into a variable. I need to some how check if this direcrory
> already exists and if not, create it.
KF>
DC> Why not use
DC> FindFirst ('C:\MYPROG',Directory,SearchRec);
KF> That could find more than just directories. You would need to also
KF> check the SearchRec.Attr to ensure that the directory flag was
KF> actually set:
[snip]
Oh, ok. I thought the 'diirectory' attribute mentioned in my line would be
above.
So much for RTFM :-)
Cya..
Dave
Save your BBS! Join INTBBS_WK now!
--- timEd 1.10
---------------
* Origin: GnomeVille MBBS 64-4 235-6887 (3:771/1560)
|