1
PDW Support / Filter command file arguments
« on: 07 Apr 2018, 23:05:12 »
Hello all,
Can someone please explain how the arguments section is passed to the command file in super simple terms (with a how-to preferably).
I've been at this for days, read all the forum threads and googled but I'm getting nowhere.
My objective is to run the following Windows command line which sends a pushover message to my device:
where the '%7' is substituted for the filtered message.
I can successfully run this code from a batch file when I write some physical text in the space of '%7'.
However when i run it from PDW I can see no text is being substituted and it fails.
Thanks in advance.
Can someone please explain how the arguments section is passed to the command file in super simple terms (with a how-to preferably).
I've been at this for days, read all the forum threads and googled but I'm getting nowhere.

My objective is to run the following Windows command line which sends a pushover message to my device:
Code: [Select]
curl -s --form-string "token=MYUSERTOKEN" --form-string "user=MYUSERID" --form-string "message=%7" https://api.pushover.net/1/messages.json
where the '%7' is substituted for the filtered message.
I can successfully run this code from a batch file when I write some physical text in the space of '%7'.
However when i run it from PDW I can see no text is being substituted and it fails.
Thanks in advance.