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

    Batch file issues

    Scheduled Pinned Locked Moved Windows
    4 Posts 2 Posters 1.2k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post