Win下循环进入目录启动执行某任务

cd tldlq
for /D %%s in (*) do (
        cd %%s
        start "" LoginGate.exe
        start "" GameGate.exe
        ping -n 2 127.0.0.1 > nul
        cd ..
    )
原文地址:https://www.cnblogs.com/dieangel/p/3340901.html