回复 4# botong
晕,这代码能执行才怪
- for %%a in (%input%) do (
- set regexp=!regexp! index=%%a$
- )
- for /f "delims=" %%a in ('more +19 "%~f0" ^| findstr /v "%regexp%"') do (
- %%a
- )
复制代码
修改
-
- for %%a in (%input%) do (
- set "regexp=!regexp! index=%%a$"
- rem 搞不清楚你这个set搞什么
- )
-
- for /f "delims=" %%a in ('more +19 "%~f0" ^| findstr /v "%regexp%"') do echo;%%a
复制代码
|