When I use "
EXECUTE FILE "Notepad.exe"
It works fine.
The PARAMETERS statement seems to break up my command line
eg: EXECTURE FILE "CURL.EXE " PARAMETERS c
Doesn't work either.
BLINKER had the SWPRUNCMD that worked perfectly to pass a variable for the command line.
The string c appears to be properly formed and works when I copy it directly to the command line.
Any Ideas?
Here is my command code
Code: Select all
c=["CURL -s -u "+alltrim(settings.text_cf_user.value)+":"+alltrim(settings.text_cf_pass.value)+" -H "+["Content-Type:application/json" -X POST -d "]+chr(91)+[{""phoneNumber"":""67076"",""message"":""Hello World!""},{""phoneNumber"":""]+tphone+["",""message"":""This is a test. End Test""}]+chr(93)+[" "https://api.callfire.com/v2/texts" > result.txt]+["]
EXECUTE FILE c