How to pass multiple arguments from command prompt

Hi team,

I am following “Arguments Description” to pass parameters from commandprompt

“C:\Program Files (x86)\UiPath Studio\UiRobot.exe” /file:“C:\Users\User1\Documents\UiPath\StartFromCmd\Main.xaml” /input:“{‘arg1’:‘hello’}”

When I passed one argument it is reading the values,
and when I passed multiple arguments only first argument is reading and remaining are not passing to code.

“C:\Program Files (x86)\UiPath Studio\UiRobot.exe” /file:“C:\Users\User1\Documents\UiPath\StartFromCmd\Main.xaml” /input:“{‘arg1’:‘hello’}{‘arg2’:‘World’}”

It worked if we pass parameters as below
“C:\Program Files (x86)\UiPath Studio\UiRobot.exe” /file:“C:\Users\User1\Documents\UiPath\StartFromCmd\Main.xaml” /input:“{‘arg1’:‘hello’, ‘arg2’:‘World’}”

1 Like

Try this one

/Input: "{‘arg1’ :‘value1’, ‘arg2’ :‘val2’} "