> >
> > IF DIRECTORY(lcBackupDir)
> >
> >
> > Will always return false.
>
> Hi Biju,
> 1. Why DIRECTORY() Will always return false?
> If directory exists the return is .T.
>
>
> >
IF !DIRECTORY(lcBackupDir)
> > md (lcBackupDir)
> > endif
>
> 2. Why you test, when you know that the Directory doesn't exists?
>
IF !DIRECTORY(lcBackupDir)
>
>
>
> Vladimir Zografski
> Systems Analyst
Vladimir you might not understand well the way Biju post his response, but his response is correct.
He means that if the directory does not exist, create the directory. That's what he means.
Kind regards,
Mike