Start process with relative path

Is it possible to use the start process activity on a batch file located in UIPath Dispatcher code base using a relative location?

I’d prefer to avoid passing a full filepath from computer and only provide relative of top project location, Dispatcher.

For example, my project structure is MainProject/Dispatcher/Scripts/test.bat
So I tried using start process with: Scripts/test.bat for FileName parameter and empty WorkingDirectory, but i got error:
Start Process: The system cannot find the file specified

1 Like

Nevermind, I should have just guessed.

The solution was to use “Scripts” as working directory and “test.bat” as file name, duh :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.