I have more 3000 files in a folder. I want to find and replace text with another one. How can I do that? I'm a newbie in batch script. I can replace it in 1 file but I don't know how to replace in multiple files.
FOR /F %%L IN (lala.txt) DO (
SET "line=%%L"
SETLOCAL ENABLEDELAYEDEXPANSION
set "x=!line:E:\Test=E:\Test\Temp!"
echo f | xcopy /E !line! !x!
ENDLOCAL
)
How can I edit my code to replace the string in all files? Waiting for your help. Thanks