Running a .bat file using start process

Hi

If I want to run a bat file using Start Process, what would my input variables be? I guess Arguments would be the file path but what about FileName and WorkingDirectory?

Best regards,
Jan

3 Likes

Hi @Langdeel,

Have a look here : https://forum.uipath.com/t/running-a-cmd-script/97/5?u=masire

Cheers.

Masiré

Thanks Masire, but when I use the following input an empty cmd-prompt just opens up:
Arguments: filepath
FileName: “C:\windows\system32\cmd.exe”

Hi, please attach the workflow to see what is happening.

Regards,
Masiré

Hello!

If you just want to run a batch file, you only have to input the full path of the file (FileName property) and then execute. Automatically the Uipath will execute the file on the specified path.

Hope It helps!

Regards,

2 Likes

That worked like a charm Lucas. Thank you very much!

1 Like