Relative path

i am trying to program a robot to unzip file and move the all the files in the unzipped folder into different destination so i am using the absolute path but i need to use relative path instead in order to share it with others.

@Hesham_Elsayed_MiddleEast
Welcome to uipath community.

What is the issue you are facing?.Did you try with relative path?

Hi @Hesham_Elsayed_MiddleEast

Welcome to the Community

Use a variable for giving the path and add it as an asset or on config and change the value as needed without opening the workflow or the file

Or you can give a generic path like c:\Bots\Zipfiles.zip and the other users also can place the files in same location as it is not user specific

There are also other variables available for you to get the system locations

cheers

this is my issue i want to use the relative path but cant do it

@Hesham_Elsayed_MiddleEast

Just mention the zip file name in the path-It is a relative path.
image

@Hesham_Elsayed_MiddleEast

Absolute Path - complete location from root to file

Eg : “C:\Windows\system.ini”

Relative Path - Root path + File ( a location that is relative to a current directory)

Eg : "C:\Windows\ " + “system.ini”

Is your Root Path a dynamic value? or is it always the same?