Mismatch between the cmd result obtained manually and result obtained through UIPath

Scenario:mismatch between the cmd result obtained manually and result obtained through UIPath

hello,
I have attached a workflow for unzipping folders using winRAR. The manual process is giving me the right results. But when I run the UIPath workflow for the same, an error “system cannot find the specified path” is displayed.
Main.xaml (6.8 KB)

Are you using /Target or /Executor? Generally /Executor overrides the /Target argument.
This is one of the common issues faced in my case for cmd results in UIPath.

Although, your case may be different. Another common issue i have faced with command line is the user account may be different and the path had changed.

Can you provide more details?

Thank you for answering.

The problem was that i was running the 32 bit cmd file i.e “C:\Windows\System32\cmd.exe” . The 64-bit cmd file is “C:\Windows\WinSxS\amd64_microsoft-windows-commandprompt_31bf3856ad364e35_10.0.14393.0_none_b8813238310f2dd6\cmd.exe”

Regards
Amitha