CODE: [Copy to clipboard]@echo off for /f "delims=" %%a in (ok.txt) do ( set str=%%a call set str=%%str:\=\\%% call echo %%str%% ) pause