这是我字符搜索"命令行工具"(真不好意思说)
有什么命令的用法不很清楚就在命令提示符下输入:
cmdstr shift
你根据需要将路径改成你自己的
@echo off
set "load=G:\cmd\批处理范例\bat文件"
for /f "tokens=*" %%i in ('findstr /ms %1 "%load%\*.txt" ^|findstr .') do start /max /wait notepad "%%i"
goto :eof
This is my character search "command line tool" (really embarrassed to say)
There are any command usages that are not clear, just enter in the command prompt:
cmdstr shift
Change the path to your own as needed
@echo off
set "load=G:\cmd\Batch Processing Examples\bat files"
for /f "tokens=*" %%i in ('findstr /ms %1 "%load%\*.txt" ^|findstr .') do start /max /wait notepad "%%i"
goto :eof