automateable
7 years agoOccasional Contributor
How to search files with different file types using aqFileSystem.FindFiles function?
How to use SearchPattern to allow searching of files with filtered file types. For example, I want to find image files with *.jpg and *.png extensions. Is this possible? thanks
- 7 years ago
On a simple note,
aqFileSystem.FindFiles("<your home path with backslash>", "*.jpg") returns list of jpg image files
aqFileSystem.FindFiles("<your home path with backslash>", "*.png") returns list of png image files
Additional,
if you find files with some common names, you can try like below
aqFileSystem.FindFiles("<your home path with backslash>", "*test-files*image.jpg") returns list of files matches with "*test-files*image.jpg" this pattern.