Hi George.
I settled for VFP's native DIRECTORY() function. Any reason why you think I should not trust it and use the FileSystemObject instead?
Regards,
Mike
>>I'm using VFP8. How can I determine if a folder already exists? I can't seem to find a built in function.
>>
>>TIA
>>
>Mike,
>
>Since you're using VFP 8 which is supported on Win2K and above, I'd suggest
oFSO = CREATEOBJECT('Scripting.FileSystemObject')
>IF oFSO.FolderExists("c:\foldername") THEN
> * Code here
>ENDIF