おまいら答もかいてやれよ

>>287
echoの行は遅延展開が必要。詳しくはset /? とかを参照

setlocal EnableDelayedExpansion
for %%i in 略
set k=%%i
echo !k!