... das würde dann so aussehen:
IF EXIST lock.txt ( exit )
IF NOT EXIST lock.txt (
ren unlock.txt lock.txt
C:\Programme\MyPhoneExplorer\MyPhoneExplorer.exe action=sendmessage savetosent=1 number=01234567890 text="Mein Text %3"
ping -n 50 127.0.0.1 > NUL
ren lock.txt unlock.txt )
Die Batch-Datei öffnet sich und es sieht dann beispielsweise so aus:
IF EXIST lock.txt ( exit )
IF NOT EXIST lock.txt (
ren unlock.txt lock.txt
C:\Programme\MyPhoneExplorer\MyPhoneExplorer.exe action=sendmessage savetosent=1 number=001234567890 text="Mein Text "Verkehrsunfall - Ölbindemittel benötigt""
ping -n 50 127.0.0.1 > NUL
ren lock.txt unlock.txt )
Ergebnis: dennoch kommt nur der Fixtext an, aber keine Meldung (aus irgendeinem Grund übernimmt dann MyPhoneExplorer die Meldung nicht mehr)!