If you really want to check something is there, do this instead?
[tt]
if fso.getfolder("c:\tempdir").files.count<>0 then
'do something as shown
end if
[/tt]
Sure there are lot of other ways to look at the same thing.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.