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

dual commands

General Discussion
3
3
1.3k
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.
  • M
    mike cornelison
    last edited by Mar 14, 2018, 1:48 AM

    Re: Welcome to the TRIGGERcmd forum!

    I'd like to use two commands on the same command line in the Agent. I'm working with x10 commands in a batch file on win7. Any ideas?

    R 1 Reply Last reply Mar 14, 2018, 10:09 PM Reply Quote 0
    • X
      Xander
      last edited by Mar 14, 2018, 4:47 AM

      e.g. "cls & dir /w"

      1 Reply Last reply Reply Quote 0
      • R
        Russ @mike cornelison
        last edited by Mar 14, 2018, 10:09 PM

        @mike-cornelison, like Xander wrote, you can use & between your commands to run multiple commands on one command line.

        But you said you're running a batch file. So couldn't you just put multiple lines in that batch file? Like so?

        start http://127.0.0.1:8086/?x10command=DEVICE~sendrf~%%27A3%%20ON%%27
        start http://127.0.0.1:8086/?x10command=DEVICE~sendrf~%%27A4%%20ON%%27
        

        Russell VanderMey

        1 Reply Last reply Reply Quote 0
        2 out of 3
        • First post
          2/3
          Last post