Pass parameters with Zapier

  • Dear TriggerCMD
    I am looking to use TriggerCMD to pass parameters to a vbscript file for execution.
    I see from the video that each parameter is used by specifying %1.

    A few more questions:
    1, I have used the parameter field in Zapier and called notepad only to see that notepad was not aware that it needed to open the file, so it appears that the parameter is not being passed?
    2, How are parameters separated when specifying more than one? (is it just a space like on the cmd line?)
    3, Are there only nine parameters that can be passed like with batch files?
    4, Is there an upper limit on the number of characters sent?
    Thanks for the great functionality

  • administrators

    @jgodney, I'll answer each question by number:

    1. Did you enable parameters on the command you ran from Zapier? Also did notepad open, or did it give you a prompt like this?

    2. Yes - multiple parameters are separated by a space.

    3. No - you can send an unlimited number of parameters, separated by spaces. Actually batch files can accept more than 9 too.

    4. From here I see, "On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8191 characters"

Log in to reply

Looks like your connection to TRIGGERcmd Forum was lost, please wait while we try to reconnect.