Jump to content
Deye

Paths with wildcards

Recommended Posts

Deye

Hi there , 

I'm trying to get "folder" and "file name" based on a string containing wild cards as such:
"C:\Users\user\Desktop\????? ???????\????? ???? - Copy.txt"
I know _FileListToArrayRec can get the filenames right
But I need something that can do the same for directory names
Any ideas ?

TIA
 

Edited by Deye

Share this post


Link to post
Share on other sites
JLogan3o13

_FileListToArrayRec has a parameter to search just folders...

  • Like 1

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Deye

It didn't occur to me, to try that, Good idea! .
Thanks :)
 

Share this post


Link to post
Share on other sites
ViciousXUSMC

Use the Files & Folders return option and then use StringinStr() to verify your string (or RegEx)

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.