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
harpessAsked:
Who is Participating?
 
Bill PrewConnect With a Mentor Commented:
You could create a folder object to that folder, and then check the file count for greater than zero.

~bp
0
 
Paul JacksonSoftware EngineerCommented:
0
 
Bill PrewCommented:
Thanks!

~bp
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.