TIP: Click on subject to list as thread! ANSI
echo: pascal
to: KIM FORWOOD
from: DAVID CHORD
date: 1998-04-15 15:42:00
subject: Checking for DOS path

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.