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

    Command with parameters

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 546 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.
    • M Offline
      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 Offline
        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

        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