Roboserver Error: Error from the Execute Command Line action. Cannot run program "cmd.exe": Malformed argument has embedded quote:
Article # 3038182 - Page views: 158
Issue
If I try to run an Execute Command Line step in a robot running on RoboServer I receive an error message like:
Error from the Execute Command Line action. Cannot run program "cmd.exe": Malformed argument has embedded quote: MOVE /y "C:\temp\testfile.txt" "\\localhost\Share\\test.txt"
Solution
This error can be solved by adding the following line to the RoboServer.conf file in the bin folder of the RPA installation.
wrapper.java.additional.20=-Djdk.lang.Process.allowAmbiguousCommands=true
Afterwards the Roboserver needs to be restarted.
Level of Complexity
Moderate
Applies to
Product | Version | Build | Environment | Hardware |
---|---|---|---|---|
Kofax RPA | 10.6 and later |