I'm writing a file search method in vbscript. I'm not able to use Dir()
method. It says type mismatch for Dir() method. If anyone knows how use
the Dir() method in VBScript, let me know asap. It's very urgent.
Try to use Function Dir([PathName], [Attributes As VbFileAttribute
vbNormal]) As String
Dim s
s = Dir("C:\foldername", vbDirectory)
Hannu
-----Original Message-----
From: Nataraj S. Bhargav [mailto:vb_world2000@y...]
Sent: Thursday, March 21, 2002 1:31 PM
To: Access
Subject: [access] How to use Dir() in VBScript
I'm writing a file search method in vbscript. I'm not able to use Dir()
method. It says type mismatch for Dir() method. If anyone knows how use
the Dir() method in VBScript, let me know asap. It's very urgent.