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

    Batch file issues

    Windows
    2
    4
    463
    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.
    • AndrewA
      Andrew
      last edited by

      Hi
      I am new to Triggercmd, I have created a few triggers, notepad,calc etc and to a specific exe without issue. I have a backup batch file that will not trigger in fact i cannot get any bat file to trigger.

      Many thanks in anticipation

      Andrew

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

        @Andrew, please post your command and the batch file. Maybe you're not specifying the full path to the .bat file, or maybe the .bat is running but there's a path problem preventing the commands in the .bat file from running.

        Russell VanderMey

        1 Reply Last reply Reply Quote 0
        • AndrewA
          Andrew
          last edited by

          Hi Russ
          Many thanks for your prompt reply.
          I have attached 2 screen shots one of the command and the second of the contents of my batch file.
          If I place a .txt file in the folder containing the batch file and change the command it opens, so I am presuming the path is correct

          Regards
          Andrewtesting1.png testing.png

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

            @Andrew, I saw the same thing. I ran that batch file via TRIGGERcmd - nothing seemed to happen, but something did happen. You have a pause at the end, so it stayed running behind the scenes. I found mine in Task Manager when I showed the "Command line" column.

            e8e5aa1a-853f-4a51-8219-4163bb19bc9b-image.png

            Try adding something to your batch file that you could actually see, like this:

            @echo off
            title This is your first batch script!
            echo Welcome to batch scripting!
            calc
            

            Russell VanderMey

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