>If a folder, such as \TEMP, hanging off of another folder, such as C:\PATIENTS did not exist, how would I determine that it does not exist. Maybe a combination of CURDIR() or SYS(2003) with something else? There does not seem to be anything that checks for a specific folder, so I suppose I'd have to do some string evaluating? The following is Pseudo code only.
>
>
>IF NOT FOLDER("C:\PATIENTS\TEMP")
> CD C:\PATIENTS
> MD TEMP
>ENDIF
>
>
>Or in rela VFP code,...
>
>CD C:\PATIENTS
>IF CURDIR() <> "C:\PATIENTS\TEMP"
> MD TEMP
>ENDIF
>
Use the DIRECTORY() function.
George
Ubi caritas et amor, deus ibi est