bat抓取文件名

for /r F:测试目录 %%a in (*.png *.tif *.jpg *.bmp) do echo %%~na >>测试目录.xls

原文地址:https://www.cnblogs.com/yangcclg/p/7131715.html