日期:2014-05-17 浏览次数:20795 次
@echo off for /f "delims=*" %%i in ('dir /b D:\*.txt /s') do ( echo %%i notepad %%i ) pause
------解决方案--------------------
@echo off for /f "delims=" %%i in ('dir /b /a-d D:\*.txt /s') do ( echo %%i notepad "%%~i" ) pause
------解决方案--------------------
FOR /R 命令自身就有递归功能的吧