>Hi,
>
>I know how to do this in VFP, but not too sure in VB - so, I'm hoping that someone will point me in the right direction. As an example. let's say that I want to check for the exisitence of apppath + '\Export' - and if the Export subfolder doesn't exist, then create it. What would be the best approach?
>
>TIA, Al
I'm not a VB guy, but you could use WSH. Lookup filesystemobject in MSDN, and you will see VB Script examples. There is a createFolder() method, and a folderExists() method.
Check out "The Windows Script Host, the FileSystemObject (Pt 3 of 5)" article at
http://www.vfug.org (in November, 2000 newsletter) for VFP examples, which are easily ported to VB.
HTH,
Steve Gibson