windows - Batch Script- Passing a delimited string -
I am using a Linux script that takes a delimited string and loops through each value ...
I need to use the script from the command line. Stackoverflow.bat "2342342342,23423424234,2123123123" "Message for sending" Maybe it helps you Can: close% s for <% p> Now you have to get the Windows command to do this: is now That would be MYIFS = ',' IFS = $ MYIFS read -ra contacts & lt; & Lt; & Lt; "$ {CONTACTS [@]}" for "$ 1"; Echo "" ... Try to send to $ i "$ ADB opens - service 0 - n com.android.shellms / .sendSMS -e contact" $ i "-e msg" $ 2 "1" / dev / any person has any idea how can I do anything on the cantonment?
% 1% (% ~ 1) Try sending: [% 2] to [%%]
starts - User 0 -n com.android.shellms / .sendSMS -e contact "$ i" - e msg "$ 2" 1> / dev / null
$ i
will be %% a
and $ 2
will be % 2
Comments
Post a Comment