@echo offfor /f "delims=" %%a in ('dir /a-d/s/b') do (echo 修改日期:%%~ta 文件名:%%~na>>3.txt)sort 3.txt>>4.txt&del 3.txtpause列出当前目录的文件名及修改日期,望采纳,