Thanks for the snippet Tore. I'll use Michel's suggestion and go with DIRECTORY(). Its less typing :)
Mike
>
>IF ADIR(temp,'mydir',"D")>0
>
>ENDIF
>
>
>>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.