CMD commands no longer work
-
I have been triggering these commands for some time now without issues however suddenly I am not able to run commands which involves CMD.
When I run the commands, nothing happens and I see this error when I run them from the browser:
Command ran with error code 4294967295. These commands were running fine until yesterday.Here are two examples of commands that won't run:
Command:cd /d "C:\Users\username\AppData\Local\Programs\UiPath\Studio" && UiRobot.exe execute --process "Discord.Join.Server"
Command:"C:\Applications\UiPath\Robot\Starta Spel\Starta Spel\Start Game.bat" [params]
Here are two examples of commands that do work:
Command:start https://hardwaretester.com/gamepad ```_{{{CITATION{{{_1{Open web page from Windows command line - Computer Hope
(background)
Command:start "" "C:\Applications\Automation\Handheld Companion\restart_handheldcompanion.bat - Shortcut.lnk"I hope you will be able to assist with this.
-
Is it possible to get support with this?
-
@Hugoboss, sorry, I missed your original post so I'm glad you followed up.
For the 2 examples that won't run in the triggercmd agent, you said they won't run now, but they ran fine yesterday. Did you upgrade the agent between when they ran and when they didn't?
Do they run fine if you run them manually from a cmd prompt?
Please try putting this one in a .bat script like this, and run the .bat script as your command instead:
cd /d "C:\Users\username\AppData\Local\Programs\UiPath\Studio" UiRobot.exe execute --process "Discord.Join.Server"
Please test the .bat script manually too.
Also could you share the contents of this script, and the output when you run it manually?
"C:\Applications\UiPath\Robot\Starta Spel\Starta Spel\Start Game.bat"