Java command through powershell

code
activities

#1

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.


#2

Hi @tech_incubator,

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

Powershell script file:
bat.zip (230 Bytes)

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


#3

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