Open Application - WorkingDirectory Property

image
Hi, what’s the “WorkdingDirectory” means ? And what’s the difference with “FileName”?

I don’t know when should i fill “WorkingDirectory”, and the use of this property

1 Like

@pitaty,

Filename - the file name you want to open the application
Worrking Directory - Process directory which contains all your xamls for the current process.

Here the Filename is a property that depicts the filepath of your file
Where the working directory property is about the folder path of your file

Like if we have a file named A in folder main
Then File path of A should be written in FileName property
Where as the folder path of main should be mentioned in working directory

Hope this would help you
Cheers @pitaty


For example, above pic.
FileName: C:\WINDOWS\system32\notepad.exe
How about WorkingDirectory?

1 Like

When your xaml is executed your xaml containing project folder will become your CURRENT WORKING DIRECTORY
So the folder path your project will be your working directory
The above mentioned illustration is for understanding the concept buddy
Hope this would help you
Cheers @pitaty

1 Like

so, you mean, WorkingDirectory is the path where your application works? And it’s not the workpath for UiPath project, a little confused.

1 Like

Exactly
As we run the robot (literally working) it’s current project folder will be it’s working directory
Cheers @pitaty