Deye Posted July 14, 2016 Share Posted July 14, 2016 (edited) 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 July 14, 2016 by Deye Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted July 14, 2016 Moderators Share Posted July 14, 2016 _FileListToArrayRec has a parameter to search just folders... Deye 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Deye Posted July 14, 2016 Author Share Posted July 14, 2016 It didn't occur to me, to try that, Good idea! . Thanks Link to comment Share on other sites More sharing options...
ViciousXUSMC Posted July 14, 2016 Share Posted July 14, 2016 Use the Files & Folders return option and then use StringinStr() to verify your string (or RegEx) Deye 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now