Computing.net: Question & Answers Forum Latest Questions

computing
  • 28
  • 28

Hey everyone, I need help replacing “Banana”=dword:00000001” with “Banana”=dword:00000000″ inside a .txt   What I got so far is this @echo off setlocal enabledelayedexpansion set INTEXTFILE=”C:\Temp\File.txt” set OUTTEXTFILE=”C:\Temp\File_out.txt” set SEARCHTEXT=”Banana”=dword:00000001 set REPLACETEXT=”Banana”=dword:00000000 for /f “tokens=1,* delims=¶” %%A in ( ‘”type %INTEXTFILE%”‘) do ( SET string=%%A