File search including folders and extensions
Posted: 24.08.2021, 14:45
I am trying to search a given folder and sub folders for a number of extensions and a given sub folder of the base folder for all files in any folder of that folder. See example below:
Location tab
Filename field: *.def;*.dic;*.ini;*.def
Search in area
Folders field: c:\temp\config
The above works great and finds all the files of the required extensions. Now I have a folder under c:\temp\config called "template". This folder contains none of the above extensions. I want to include all files in this folder as well. I thought the following change would do it but when I add either I get nothing.
Filename field: *.def;*.dic;*.ini;*.def;\template or *.def;*.dic;*.ini;*.def;\template\*.*
or
Filename field: \template;*.def;*.dic;*.ini;*.def or \template\*.*;*.def;*.dic;*.ini;*.def
Location tab
Filename field: *.def;*.dic;*.ini;*.def
Search in area
Folders field: c:\temp\config
The above works great and finds all the files of the required extensions. Now I have a folder under c:\temp\config called "template". This folder contains none of the above extensions. I want to include all files in this folder as well. I thought the following change would do it but when I add either I get nothing.
Filename field: *.def;*.dic;*.ini;*.def;\template or *.def;*.dic;*.ini;*.def;\template\*.*
or
Filename field: \template;*.def;*.dic;*.ini;*.def or \template\*.*;*.def;*.dic;*.ini;*.def