Announcement

Collapse
No announcement yet.

how to launch an executable or cmd within a script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to launch an executable or cmd within a script

    I am trying to launch a cmd or executable from within a script.

    I thought that the "launch" would work . but I cannot get it to work ..

    I am trying to execute "c:\bt\this.cmd" from within a script.

    I want the script process then to continue and not wait for the executable to complete.

    Can anyone provide some ideas how to do this .. ?

    Thanks in advance ..

    Don

    #2
    Have you considered running an event from the script? The event would have the Launch event action.
    Mike____________________________________________________________ __________________
    HS3 Pro Edition 3.0.0.548, NUC i3

    HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF | RFXCOM | Vantage Pro | Green-Eye | Edgeport/8 | Way2Call | Ecobee3 | EtherRain | Ubiquiti

    Comment


      #3
      No I did not .. but that would work as well ..

      I guess it is my training kicking in .. "minimize the number of things that have to run, will minimize the points of failure and maximize reliability"... .

      Thanks .. for the idea, if there is no embedded function this will work as well.

      Don

      Comment


        #4
        Have you tried?

        cmd c:\bt\this.cmd

        Comment


          #5
          sorry Logbuilder, are you saying to execute this from a command prompt .. if that is the case .. you need a person at the console to do this .. I need this to run in an automated manner ..

          If you are saying there is another way to do this .. then I am sorry, I do not understand what you mean ... where would you put the command line you have shown ... and what initiates it?

          tanx for help

          Comment


            #6
            What I was saying is in the event, when you run a script put CMD in the front of your command. That will start a new CMD process that I would suspect would let your event continue to run. I don't run any scripts out of events. My thought was just an old way we used to do .bat files. Might no longer be relevant.

            Comment


              #7
              Thanks .. I believe I understand your suggestion . .will try ..

              Thanks again .. Don

              Comment

              Working...
              X