|
-
Aug 2nd, 2013, 11:58 AM
#1
Thread Starter
Lively Member
[RESOLVED] Check if file extension exists in folder using wildcard and retrieve file name?
Hi There,
I use a quick boolean test to see if certain file extensions exist in a certain directory (i.e., are there any *.txt files in this directory yields either True or False).
But what would be some suggestions on how to actually retrieve all the actual *.txt file names in this folder if the answer is True? Note, I'm not using Scripting Runtime references here so FSOs would not be ideal, but could be considered if that really turns out to be the best solution.
Am I limited to a recursive search in that folder or is there an easier way I might be overlooking? Anyone have a good function for this by chance?
Thanks for your time and any additional insight!
Last edited by swambast; Aug 2nd, 2013 at 12:08 PM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|