• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 400
  • Last Modified:

Is there a workaround to using wildcards in FileExists line?

I am trying to do this but it does not work

If objFSO.FileExists("S:\Folder\folder\from_mainframe\*") Then
0
harpess
Asked:
harpess
  • 2
1 Solution
 
Paul JacksonCommented:
0
 
Bill PrewCommented:
You could create a folder object to that folder, and then check the file count for greater than zero.

~bp
0
 
Bill PrewCommented:
Thanks!

~bp
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now