I've found a lot of examples on checking wether directories exist or not. The examples (and I've used a lot) can't detect hidden or system directories though. Is there a way to?
Thanks
Printable View
I've found a lot of examples on checking wether directories exist or not. The examples (and I've used a lot) can't detect hidden or system directories though. Is there a way to?
Thanks
vb Code:
Public Function DirectoryExist(ByVal sPath As String) As Boolean DirectoryExist = (Len(Dir$(sPath, vbDirectory Or vbHidden Or vbSystem)) <> 0) End Function
That's brilliant. Thank you!