Moving Files from one folder to another using UiPath

0 votes
I want to move all the files from one folder to another. Can anyone suggest how can I achieve this using UiPath?
Mar 5 in RPA by Ranjan
258 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 Ranjan, to move files from one folder to another using UiPath, follow the below mentioned steps one by one:

1. Create a Sequence and create the variables FilesCount and Path. Now assign the value of Path to the Path of your Source Directory.

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

3. Then drag a For Each activity and write item FilesCOunt 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 one folder to another.

answered Mar 7 by Abha
• 5,840 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,880 points
307 views
0 votes
1 answer

Looping through PDF files to extract specific data using Uipath

Hi Rashi, you can access all the ...READ MORE

answered Mar 5 in RPA by Anvi
• 5,880 points
172 views
0 votes
1 answer

How to extract data from a website and save it to excel using UiPath?

Hi Piyush, if you want to extract ...READ MORE

answered Mar 8 in RPA by Anvi
• 5,880 points
432 views
0 votes
2 answers

How to unzip a zipped folder using UiPath?

Hi Akansha, to unzip a zipper folder ...READ MORE

answered Mar 8 in RPA by Anvi
• 5,880 points
238 views
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
187 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
769 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
254 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
243 views
0 votes
1 answer

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

Hi Pragati, in order to move files ...READ MORE

answered Mar 7 in RPA by Abha
• 5,840 points
165 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
• 5,840 points
89 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.