>>260 これじゃダメか?
ていうかダメな例を教えてほしい

for /f "delims=" %%i in (1.txt) do (
set a=%%i
setlocal enabledelayedexpansion
echo !a:^"=!>>2.txt
endlocal
)