Bat 파일 여러개 문자열 바꾸기

에코야

그냥 아래 스크립트 형태를 여러번 반복해서 사용하거나, Bat 파일을 단계별로 수행하면 됩니다.

파일1로 1문자열 수정, 파일2로 2문자열 수정 이런 형태...

복잡하게 생각 안하는게 상책.

@echo off
 setlocal enabledelayedexpansion
 set string=This is my string to work with.
 set find=my string
 set replace=your replacement
 call set string=%%string:!find!=!replace!%%
 echo %string%

출처: https://kenoz.tistory.com/entry/파일-내의-string-replace하는-batch [The Pursuit of Happyness]