windows - Batch Script- Passing a delimited string -


I am using a Linux script that takes a delimited string and loops through each value ...

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?

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>

 % 1% (% ~ 1) Try sending: [% 2] to [%%]  

Now you have to get the Windows command to do this:

  starts - User 0 -n com.android.shellms / .sendSMS -e contact "$ i" - e msg "$ 2" 1> / dev / null  

is now That would be $ i will be %% a and $ 2 will be % 2


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -