换成“TND”输出:- @echo off
- setlocal enabledelayedexpansion
- for /f %%a in (a.txt) do (
- set int=%%a
- set yu=!int:他娘的=TND!
- echo !yu!
- )
- pause>nul
复制代码 去掉“他娘的”输出:- @echo off
- setlocal enabledelayedexpansion
- for /f %%a in (a.txt) do (
- set int=%%a
- set yu=!int:他娘的=!
- echo !yu!
- )
- pause>nul
复制代码
|