Solved

Is there a workaround to using wildcards in FileExists line?

Posted on 2012-03-28
3
391 Views
Last Modified: 2012-03-28
I am trying to do this but it does not work

If objFSO.FileExists("S:\Folder\folder\from_mainframe\*") Then
0
Comment
Question by:harpess
  • 2
3 Comments
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 37777350
0
 
LVL 53

Accepted Solution

by:
Bill Prew earned 500 total points
ID: 37777374
You could create a folder object to that folder, and then check the file count for greater than zero.

~bp
0
 
LVL 53

Expert Comment

by:Bill Prew
ID: 37778333
Thanks!

~bp
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I met Paul Devereux (@pdevereux) today when I responded to his tweet asking “Anybody know how to automate adding files from disk to a folder in #outlook  ?”.  I replied back and told Paul that using automation, in this case scripting, to add files t…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question