window查找文件:
for /r c:\ %i in (frp*) do @echo %i #查找以frp开头的文件
for /r c:\ %i in (iisput*.txt) do @echo %i
for /r d:\ %i in (banner-02*.jpg) do @echo %i
#查找c:\目录下txt中包含"zzz123123"的文件
findstr /s /i /c:"zzz123123" C:\*.txt
2022-03-11 02:20:00
window查找文件:
for /r c:\ %i in (frp*) do @echo %i #查找以frp开头的文件
for /r c:\ %i in (iisput*.txt) do @echo %i
for /r d:\ %i in (banner-02*.jpg) do @echo %i
#查找c:\目录下txt中包含"zzz123123"的文件
findstr /s /i /c:"zzz123123" C:\*.txt