峰庄123 当前离线
列兵
ShowCode 当前离线
VIP1
@echo off cd /d "%~dp0" set "Folder1=Audio" set "Folder2=Video" set "AppName=QQ.exe" start "" "%Folder1%\%AppName%" start "" "%Folder2%\%AppName%"复制代码
TOP
czjt1234 当前在线
少校
@echo off cd /d "%~dp0" set "Folder1=Audio" set "Folder2=Video" for %%i in ("%Folder1%\*.exe") do ( start "" "%%i" ) for %%i in ("%Folder2%\*.exe") do ( start "" "%%i" )复制代码
@echo off cd /d "%~dp0" for /f "delims=" %%a in ('dir /b /ad') do ( pushd "%%a" for %%i in ("*.exe") do ( start "" "%%i" ) popd )复制代码