hactya 当前离线
列兵
@echo off echho 一二三四五六七八九 > 1.txt find [color=Red]"二"[/color] < 1.txt if %errorlevel% equ 0 echo 找到所需内容 pause复制代码
canyuexiaolang (vebjbr2wq)当前离线
荣誉版主
@echo off&setlocal ENABLEDELAYEDEXPANSION copy 123.txt bak_123.txt REM 备份一下~~~ set /p str=请输入(多个请用空格隔开): for %%i in (%str%) do ( findstr /iv /c:%%i 123.txt > temp.txt del 123.txt ren temp.txt 123.txt ) pause复制代码
TOP