求批处理命令:查找文本文件中相似的字符串,并将查询结果输出到文本文件。

如题所述

@echo off
for /f "skip=2 delims=" %%i in ('find /i "hello" c:\hello.txt') do echo %%i >>c:\hello.txt
start "" "c:\hello.txt"
pause
温馨提示:答案为网友推荐,仅供参考