>I want to check the directory temp before creating it.
>
>It is creating fine.
>
>But the if condition is giving me error.( IF NOT DIRECTORY(Temp) )
>
>Can you please tell me how to check, if the temp exist then ignore otherwise create temp directory.
>
>*************Code*************
>IF NOT DIRECTORY(Temp)
> MKDIR Temp
>ENDIF
>
>**************End*************
>
>Thank you very much.
Did you try IF NOT DIRECTORY("c:\Temp")
or if Temp is a variable:
IF NOT DIRECTORY((Temp))
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope