Thanks for your response. I tried this method, but it does not work in my case. The result of:
>
>If ADIR(aa,"e:\*") <=0
>
>or
>
>ADIR(aa,"f:\*") <=0
>
>Will always = 0.
>
>
>What I have is 2 drives on my test machine. One CD drive is empty and the other has a CD in it with just one folder on the root of the CD. Ideas? Thanks!Try
? ADIR(aa,'f:\*','DSRH')
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst