how to move all files in a folder to another folder . if user gives the path of the source folder as well as destination folder
let From folder be Y, To folder be Z
for each item in str
Use ‘Move File’ activity
Try this activity if you want to, you just have to pass the source and destination(should not exisit) folder. I created for myself as I needed for bulk activities.Please test before you implment.
MoveDirectory.Activities.1.0.0.nupkg (42.7 KB)
Move/Delete a directory/folder
Move Directory activity
i tried to do it but i’m getting an error:
value of 1 dimensional string cannot be converted into string
can you attach your workflow please.
Return type of the variable used is genricvalue convert it to string array.
Its working, but i’m getting an error that 'cannot create a file that already exists"
but that folder is empty
try checking the box ‘Overwrite’ in Move file activity
still getting that error
can you attach xaml
your code is not able to get folder…
could you please be elaborate which folder are you referring to