@echo off
rem 搜索指定文件夹/目录下名称中包含指定字符串/关键字的文件
set #=Any question&set @=WX&set $=Q&set/az=0x53b7e0b4
title %#% +%$%%$%/%@% %z%
set "folder=D:\"
cd /d "%folder%"
:loop
cls&set "keyword="
set /p keyword=input:
if not defined keyword goto loop
for /f "delims=" %%i in ('dir /a-d /s /b "*%keyword%*.*"') do (
echo;"%%i"
start "" "%%i"
)
pause
goto loop