执行一条cmd命令的window.bat 批处理代码:

2020-12-13 05:22

阅读:569

标签:style   blog   color   art   re   c   代码   div   










执行一条cmd命令的window.bat 批处理代码:

@echo off

echo NodeJS SUPERVISOR...Server.js
::下面是批处理代码

supervisor d:\WWWBOX\LEAPNODE\server.js

::暂停 3 秒时间
ping -n 3 127.0.0.1 > nul

::暂停
::pause
Exit






// 执行启动Nginx-php-mysql的 window 批处理代码

@echo off

echo Starting PHP FastCGI...

D:\WNPMServer\RunHiddenConsole\RunHiddenConsole.exe D:\WNPMServer\php5\php-cgi.exe -b 127.0.0.1:9000 -c D:\WNPMServer\php5\php.ini

echo Starting Nginx...

D:\WNPMServer\RunHiddenConsole\RunHiddenConsole.exe D:\WNPMServer\nginx\nginx.exe -p D:\WNPMServer\nginx


ping -n 3 127.0.0.1 > nul

Exit

 

关闭Nginx-php服务的批处理代码

@echo off

echo Stop Nginx...
taskkill /F /IM nginx.exe > nul

echo Stop PHP FastCGI...
taskkill /F /IM php-cgi.exe > nul


ping -n 3 127.0.0.1 > nul

exit

 









执行一条cmd命令的window.bat 批处理代码:,搜素材,soscw.com

执行一条cmd命令的window.bat 批处理代码:

标签:style   blog   color   art   re   c   代码   div   

原文地址:http://www.cnblogs.com/didi/p/3865722.html


评论


亲,登录后才可以留言!