Multiple file move to another folder

i have multiple file it have to be moved from one folder to another folder without looping any suggestions on it? @Palaniyappan

well we can but for multiple files we need loop, even though we do in invoke method
like
–use a assign activity like this
out_filepatharray = Directory.GetFiles(“yourfolderpath”,“*.yourfileextension”)
where out_filepatharray is a variable of array string type
–use for each and pass the above variable and
inside use a move file activity and mention the source as item and destination path you want
Cheers @priyankavivek

thankyou for your reply! i try with this.:slightly_smiling_face:

1 Like

Sure
kindly let know for any queries or clarification
Cheers @priyankavivek

@priyankavivek

For this, I developed one Activity to move multiple files from source to destination. In this, just specify source and destination path. If you want to move specific files only like Excel, PDF then specify TypeOfFiles as “xlsx” or “pdf”. If you want to move all files then leave it as blank.

https://go.uipath.com/component/move-multiple-files-1c1b6d

1 Like

so were we able to move them to a folder
any issues still to be discussed
Cheers @priyankavivek

yet i didnt try once i try i will ask if any issues thankyou

1 Like