TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    CMD commands no longer work

    General Discussion
    2
    3
    121
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Hugoboss
      last edited by

      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.

      H 1 Reply Last reply Reply Quote 0
      • H
        Hugoboss @Hugoboss
        last edited by

        Is it possible to get support with this?

        RussR 1 Reply Last reply Reply Quote 0
        • RussR
          Russ @Hugoboss
          last edited by Russ

          @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"
          

          Russell VanderMey

          1 Reply Last reply Reply Quote 0
          • First post
            Last post