bat 查找当前目录与子目录下的文件
引用:http://zhidao.baidu.com/question/276950035.html
for /f "delims=" %%a in ('dir /a-d /b %ext%') do (set F=%%~fa 改成 for /f "delims=" %%a in ('dir /s /a-d /b %ext%') do (set F=%%~fa
引用:http://zhidao.baidu.com/question/276950035.html
for /f "delims=" %%a in ('dir /a-d /b %ext%') do (set F=%%~fa 改成 for /f "delims=" %%a in ('dir /s /a-d /b %ext%') do (set F=%%~fa