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

    Command with parameters

    General Discussion
    2
    2
    107
    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
      marti.ruiz
      last edited by

      Hello everyone!
      is it possible to do something like this?
      5aa4edc1-2299-45c6-bfbb-fa096d282f53-image.png

      with this command I can print a label directly to a zebra printer.
      but i would like to be able to send files with different names.

      Thank you!

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @marti.ruiz
        last edited by Russ

        @marti-ruiz, the parameters you send with your trigger always get tacked on to the end of your command, so you should put that same command in a .bat file if you want the parameter where the %1 is.

        Your TRIGGERcmd command would run your .bat script like this:

        b4ae43ca-f277-436a-b9b3-143288f9c973-image.png

        Your label.bat script contents:

        type "C:\BC\%1" > \\mycomputer.local\ZEBRA
        

        Russell VanderMey

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