Hi,
Need a clarification.
I need to move source folders to another folder location.
Eg: I have folders C:/network/source1,C:/network/source2 .
I need to move this source folders to C:/network/target.
‘Target’ folder already exists and having other files/folders.
so once done I should find ‘target’ folder in C:/Level1/target/source1,C:/Level1/target/source2 .
Please Note - Its move not copy.
Thank you.
Hi @abhijit_ray04 ,
Could you try with below method move folder. Thanks.
Hi
Hope the below steps would help you resolve this
-
Use a FOR EACH FOLDER IN FOLDER activity in studioX
-
There mention the In folder property as
C:\network
-
And in Filter by Name property mention as
source*
This will ensure that it will consider all folder name that starts with source
-
Then inside theatre activity use a MOVE FOLDER activity
-
In this activity mention the from by clicking on plus symbol and click on CurrentFolder and choose Fullname
So that you will get like this
CurrentFolder.FullName
- In To property mention as C:\network\target
Make sure you have that target folder created
In final It would look like this
Cheers @abhijit_ray04
Hi @kirankumar.mahanthi1,
Thanks for your reply. I’ve already tried with move folder but it’s unable to move the source folders directly to target folder. Instead it’s moving the folders inside source folders into target folder.
Thank you.
Hi @Palaniyappan,
Thanks for your reply. I’ve tried to install for each folder in folder package from all packages in UiPath Studio X but unable to find any such package. Can you please clarify about the exact package name with a screenshot.
Thank you.
Hey @abhijit_ray04
You can try tweaking the source path:
C:/network/source1,C:/network/
PS: Removed source2 from the path and rest of the steps remains same as previous solutions.
Hi
You are in studioX I believe
It’s already there in the default package list
Pls search as
FOR EACH FODLER IN FOLDER it will come
@abhijit_ray04
Hi @Palaniyappan,
Sorry nope. I’m using UiPath Studio 2019.10.8. Searched for FOR EACH FOLDER IN FOLDER but it’s not available there. Any workaround?
Thank you.
The topic tag is in StudioX
Fine then
Now you want to do this step in studio or studioX
Cheers @abhijit_ray04
Hi @Palaniyappan,
Sorry for the confusion. It’s in studio. Anyways I’m able to resolve it using Invoke Method activity.
Thank you!
Hi @GouthamVijay,
Thanks for your response. I’m able to resolve it using Invoke Method activity.
Thank you!