How To Rename An Existing Folder
My Requirement is there is a Text file in that text file there is a Package name “com.android.studio”
and also I m having two folders one is names as a user and another folder names as developer
now I need to pick android from a text file and I need to replace it with a folder which is named as user & similarly studio with developer
how to do this process in uipath plz help me
@Ajit_Chowdary - please share the sample of your text file.
Dawodm
(Mahmoud Dawod)
August 26, 2021, 10:18am
3
Hi @Ajit_Chowdary
Maybe this video could help you:
@Ajit_Chowdary - Here you go…
Red Tex file and save the output as “StrInput”
Assign Statements.
StrAndroid = StrInput.Split("."c)(1)
StrDev = StrInput.Split("."c)(2)
Invoke code…
My.Computer.FileSystem.RenameDirectory("C:\Users\giris\Documents\UiPath\Studio\String_Manipulation\DeleteFiles\user",StrAndroid)
My.Computer.FileSystem.RenameDirectory("C:\Users\giris\Documents\UiPath\Studio\String_Manipulation\DeleteFiles\developer",strDev)
invoke Code Arguments
My Input
My output
Hope this helps…
1 Like
thank You Sir I will Check it Can u plz share me main.xaml file
@Ajit_Chowdary - Please give it a try based on the screenshot shared…if you face any errors let us know…
in this way, your learning will be faster…
1 Like
I followed same steps but I’m getting this error
@Ajit_Chowdary - show us the screenshot of your workflow…
@Ajit_Chowdary - you did not create the output variable in the read text activity. Please read my post again.
If you need additional training please go through UiPath academy courses.
@Ajit_Chowdary - Yes…working on it…
Thank You So Much Sir It’s Working now
@Ajit_Chowdary - Great. Once you are done with your testing, please mark my post as solution as it benefits others.
Yes I have already done it sir thank you so much for your support
Nope…
Please check the post on how to mark the post as solution…
Forum FAQ - How to mark a post as a solution
This document is part of our beginners guide .
This article will teach you how to properly mark a post as a solution.
We were closely following our last UiPath Forum feedback round! topic and carefully extracted all the bits of feedback that was provided. As such, we would like to tackle the topic of solutions on our Forum and how to properly use them.
When is the topic resolved?
The topic can be considered resolved when the topic author has fo…
Done Sir … Thank You and I’m having one more issue sir … I want to copy images … in text file I’m having images path through that path I want to copy images and replace it into another folder how to do that process sir can you please help me
system
(system)
Closed
August 30, 2021, 11:25am
23
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.