:: Get values from ADOxx SET _tel=%1 SET _txt=%2 :: Remove quotes SET _tel=###%_tel%### SET _tel=%_tel:"###=% SET _tel=%_tel:###"=% SET _tel=%_tel:###=% :: Remove quotes SET _txt=###%_txt%### SET _txt=%_txt:"###=% SET _txt=%_txt:###"=% SET _txt=%_txt:###=% :: Set Proxy if required:: :: SET http_proxy=10.0.1.8:8000 :: Send SMS using Dialnow - echo is just for testing:: ::echo "https://www.dialnow.com/myaccount/sendsms.php?username=XXXXX&password=XXXXX&from=+43699XXXXXX&to=%_tel%&text=%_txt%"> index.txt ::C:\Programme\GnuWin32\bin\wget.exe --no-check-certificate "https://www.dialnow.com/myaccount/sendsms.php?username=XXXXX&password=XXXXX&from=+43699XXXXXX&to=%_tel%&text=%_txt%" :: Send SMS using Clickatel - echo is just for testing:: :: Currently it is set just to output test file (index.txt)! echo "https://api.clickatell.com/http/sendmsg?user=XXX&password=XXX&api_id=XXX&to=%_tel%&text=%_txt%"> index.txt ::C:\Programme\GnuWin32\bin\wget.exe --no-check-certificate "https://api.clickatell.com/http/sendmsg?user=XXX&password=XXX&api_id=XXX&to=%_tel%&text=%_txt%"