记录问题:windows命令一次开启多个服务?
写一个bat文件以管理员方式运行 。
代码如下 (我这里启动两个服务,可以按需求添加)
@echo off
echo Press any key to start the Services
echo ===================================
pause
echo Starting Executer3
net start Executer3
echo Starting Executer4
net start Executer4
echo == Services have started ==
timeout 3
exit /b