Help with Loop

Hello Friends,
I need some help. I’ve this directory, with some excel files, and i need to get each one and copy it into another file.
Starting Directory

Ending directory and file

In the ending directory i would like to stay with one file like “PreparaReport_FNAC_20201104”, form example…
I’ve tried a for each activity, but something goes wrong…
Help please…

as you said, you can create a string Variable, use assign (System.IO.Directory.GetFiles(“Path”))to get all the file path to a string Variable,then use for each and copy file to copy them to another path

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.