@echo off ping 127.0.0.1 -n 50 >nul :ST tasklist /nh|find /i "btfs1.exe" if ERRORLEVEL 1 (start .\1\btfs1.exe daemon --chain-id 199) else (echo 进程存在!) tasklist /nh|find /i "btfs2.exe" if ERRORLEVEL 1 (start .\2\btfs2.exe daemon --chain-id 199) else (echo 进程存在!) tasklist /nh|find /i "btfs3.exe" if ERRORLEVEL 1 (start .\3\btfs3.exe daemon --chain-id 199) else (echo 进程存在!) tasklist /nh|find /i "btfs4.exe" if ERRORLEVEL 1 (start .\4\btfs4.exe daemon --chain-id 199) else (echo 进程存在!) ping 127.0.0.1 -n 50 >nul tasklist /nh|find /i "btfs5.exe" if ERRORLEVEL 1 (start .\5\btfs5.exe daemon --chain-id 199) else (echo 进程存在!) tasklist /nh|find /i "btfs6.exe" if ERRORLEVEL 1 (start .\6\btfs6.exe daemon --chain-id 199) else (echo 进程存在!) tasklist /nh|find /i "btfs7.exe" if ERRORLEVEL 1 (start .\7\btfs7.exe daemon --chain-id 199) else (echo 进程存在!) tasklist /nh|find /i "btfs8.exe" if ERRORLEVEL 1 (start .\8\btfs8.exe daemon --chain-id 199) else (echo 进程存在!) ping 127.0.0.1 -n 50 >nul tasklist /nh|find /i "btfs9.exe" if ERRORLEVEL 1 (start .\9\btfs9.exe daemon --chain-id 199) else (echo 进程存在!) tasklist /nh|find /i "btfs10.exe" if ERRORLEVEL 1 (start .\10\btfs10.exe daemon --chain-id 199) else (echo 进程存在!) ping 127.0.0.1 -n 5000 >nul goto ST