windows批处理脚本bat中递归遍历目录打印文件名
@echo off
setlocal
set "startDir=driver"
for /r "%startDir%" %%F in (*.dll *.sys) do (
echo 文件: %%~fF
)
endlocal
windows批处理脚本bat中递归遍历目录打印文件名
@echo off
setlocal
set "startDir=driver"
for /r "%startDir%" %%F in (*.dll *.sys) do (
echo 文件: %%~fF
)
endlocal