|When you echo %%K, do you get nothing or do you get "Echo is OFF" (or ON, depending on what you set it to)?|
I couldn't reproduce the error you're having, though if %%K actually contains data (doesn't output Echo is OFF) you might have some weird encoding on the input txt file?
I don't know really, I might be completely wrong. This is just kind of a shot in the dark.
Don't worry if plan A fails, there are 25 more letters in the alphabet ;)
message edited by RainBawZ