Hallo,

habe die erste und zweite Variante mal unter Poc32 probiert aber da bringt er mir keine Batch Datei.


Batch sieht so aus:

set alarmtext=%3
set eot=%alarmtext%:~-10%
if (%eot%)==(<EOT><EOT>) echo %alarmtext%:~0,-10% > sms.txt
goto end
echo %alarmtext% > sms.txt
:end

Eine Idee woran das liegen könnte?

MfG Krazy