I have just begun using Uipath
I need to copy a file from a given path and paste it in several folders at once. The copy activity has this destination path option but that requires the path to include the file name too (which keeps changing for different files). I have not yet come up with any effective ideas to do so.
The things that I have tried:
- Get file name by directory.getfiles() and store them in an array/list/ collection but that shows some kind of string error
- Strings cant be stored in a 1d string array, so I cant make an array and be done like normal computer programs
- No inbuilt paste into folder activity
- Putting “path*.*” As destination doesn’t work
Please advise me on what can be done for this
Thanks in advance.