zzh106 当前离线
上等兵
terse 当前离线
中将
@echo off pushd "c:\test\" set "str=value1 value2 value3" setlocal enabledelayedexpansion (for /f "tokens=1* delims=:" %%i in ('findstr /is "!str!" "*.txt"') do echo %%j)>f.txt" endlocal popd pause复制代码
TOP