Java command through powershell

I’m quite new to UiPath. I need to run a java command which accepts two file names as parameters. Like this “java test input.txt output.txt”. Can someone tell me how do I do this using the Invoke powershell activity.

Hi @tech_incubator,

Kindly check the example attached and I hope it helps you.
Main.xaml (4.6 KB)

Powershell script file: (230 Bytes)

I’m using the Run power shell script activity in this case.

1 Like

Hi @acaciomelo, I got the solution by using invoke powershell. Thank you for your help.

1 Like