Arlina
5th November 2021, 14:09
Hello,

We have a folder where multiple files are stored. We want to copy files that have a specific string in the filename.dir.open(directory.name) would be helpful in opening the folder, but how to get only the specific files?

Regards,
Arlina

JaapJD
5th November 2021, 15:37
Read the names of the files with dir.entry() with read_type T_FILE. You have to match the returned file names yourself.

Arlina
6th November 2021, 12:06
Read the names of the files with dir.entry() with read_type T_FILE. You have to match the returned file names yourself.

Thanks a lot...it worked :)