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

Batch file issues

Windows
2
4
467
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.
  • A
    Andrew
    last edited by Oct 25, 2020, 5:29 PM

    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

    R 1 Reply Last reply Oct 25, 2020, 9:11 PM Reply Quote 0
    • R
      Russ @Andrew
      last edited by Oct 25, 2020, 9:11 PM

      @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
      • A
        Andrew
        last edited by Oct 26, 2020, 10:24 AM

        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

        R 1 Reply Last reply Oct 27, 2020, 10:17 PM Reply Quote 0
        • R
          Russ @Andrew
          last edited by Oct 27, 2020, 10:17 PM

          @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
          2 out of 4
          • First post
            2/4
            Last post