用BAT打开获取D:\bat\目录下的文件列表
这个目录下所有的文件也都是BAT程序
然后逐一打开每一个文件
这个批处理怎么写?谁能帮我?
@echo off & setlocal
set "target=d:\bat"
for /f "delims=" %%a in ('dir /b /a-d "%target%\*.bat"') do (
start "" /d "%target%" /b cmd /c "%target%\%%a"
)
endlocal & @echo on
set "target=d:\bat"
for /f "delims=" %%a in ('dir /b /a-d "%target%\*.bat"') do (
start "" /d "%target%" /b cmd /c "%target%\%%a"
)
endlocal & @echo on
温馨提示:答案为网友推荐,仅供参考