How to move all files from Source to Destination Folder in UiPath?

0 votes
I want to move all the files from a source folder to a destination folder using UiPath, please tell me how can I do that?
Mar 7 in RPA by Pragati
175 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hi Pragati, in order to move files from a Source folder to a Destination folder, follow the below mentioned steps one by one:

1. Create a Sequence and create the variables NumberOfFiles and SourcePath. Now assign the default value of SourcePath to the Path of Source Directory.

2. Now add an Assign activity and assign the NumberOfFiles to directory.GetFiles(SourcePath). This will fetch all the files from the source path.

3. Then drag a For Each activity and write item & NumberOfFiles in "ForEach" & "in" textfields respectively. Also, go to the Properties of For Each activity and mention String in the Type Argument.

4. Finally in the Body section of ForEach activity, add Move File activity and mention the Destination Path in the Destination section of Properties of Move File activity. Also, in the properties tab, go to From section and set item as Path.

5. Now, just run the program and you will see that all your files are moved from Source to the Destination folder.

answered Mar 7 by Abha
• 6,370 points

Related Questions In RPA

0 votes
1 answer

How to extract specific type of files from a directory using UiPath?

Hey @Avani, if you want to extract ...READ MORE

answered Mar 13 in RPA by Anvi
• 5,960 points
338 views
0 votes
1 answer

How to scrape data using Get Text from UI Automation tools in UiPath?

Hi Roshni, scraping any text from a web page ...READ MORE

answered Mar 20 in RPA by Pratibha
• 2,520 points
53 views
0 votes
1 answer
0 votes
1 answer

Automation in Uipath

you can use the Database package for connecting  ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,090 points
190 views
0 votes
1 answer

UiPath vs Workfusion

in WorkFusion, you can create a script ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,090 points
776 views
0 votes
1 answer

Surface automation in rpa?

Surface automation is a visual automation that is done using ...READ MORE

answered Apr 20, 2018 in RPA by wrecker
• 3,090 points
263 views
0 votes
1 answer

Private Chrome window open UiPath

To open the browser in private mode, ...READ MORE

answered Apr 25, 2018 in RPA by wrecker
• 3,090 points
251 views
0 votes
1 answer

Moving Files from one folder to another using UiPath

Hi Ranjan, to move files from one folder to another ...READ MORE

answered Mar 7 in RPA by Abha
• 6,370 points
279 views
0 votes
1 answer

How to encrypt and decrypt files using UiPath?

Hey Ashmita, if you want to encrypt ...READ MORE

answered Mar 11 in RPA by Abha
• 6,370 points
94 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.