Can anyone help me with the syntax for copying a file found in one of many folders at the end of a path.
FileCopy "\\Level-01\Level-02\Level-03\C10000-C10999\" + filename, "C:\Jobs Folder\+ filename
FileCopy "\\Level-01\Level-02\Level-03\C11000-C11999\" + filename, "C:\Jobs Folder\+ filename
Both the paths find the file and copt it ok. However I would like replace the folders C10000-C10999 and C11000-C11999 with wildcard/s
any help much appreciated.
FileCopy "\\Level-01\Level-02\Level-03\C10000-C10999\" + filename, "C:\Jobs Folder\+ filename
FileCopy "\\Level-01\Level-02\Level-03\C11000-C11999\" + filename, "C:\Jobs Folder\+ filename
Both the paths find the file and copt it ok. However I would like replace the folders C10000-C10999 and C11000-C11999 with wildcard/s
any help much appreciated.