I'm familiar with wildcards in the filename statement that allows you to identify more than one file in a folder:
filename test "c:\main\sub1\*.txt";
However, I need to select specific files from multiple folders:
filename test ("c:\main\sub1\*.txt","c:\main\sub2\*.txt", ... "c:\main\sub50\*.txt"
In order to make the code more manageable, is there anyway to use a wildcard for a directory name or somehow look in all folders in a directory for the specific files?
Thank you.
billmo
filename test "c:\main\sub1\*.txt";
However, I need to select specific files from multiple folders:
filename test ("c:\main\sub1\*.txt","c:\main\sub2\*.txt", ... "c:\main\sub50\*.txt"
In order to make the code more manageable, is there anyway to use a wildcard for a directory name or somehow look in all folders in a directory for the specific files?
Thank you.
billmo