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 ..
    )

 

posted on 2013-09-26 15:32  DieAngel  阅读(204)  评论(0编辑  收藏  举报

导航