How to move one folder back in back in Uipath

I have folder C:\Testing\data\Files\generatexml.xaml.
the generatexml.xaml generate one xml which i have to save in “C:\Testing\data”.

How Can I move one folder back ?

1 Like

Yah we can create a folder in the same Project folder
Here the project folder is the folder where that generate xaml is present
In that we can save or move the file with MOVE FILE ACTIVITY

Cheers @tejach412

@Palaniyappan In that case I need to give hardcord value of paths in move file method. I just want to move one folder back …like in python we use “…/” to move back .

Hi @tejach412

Use below code to go up one level of the current file path
Directory.GetParent(Directory.GetParent("C:\Testing\data\Files\generatexml.xaml").ToString).ToString