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

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










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

@echo offecho NodeJS SUPERVISOR...Server.js::下面是批处理代码supervisor d:\WWWBOX\LEAPNODE\server.js::暂停 3 秒时间ping -n 3 127.0.0.1 > nul::暂停::pauseExit






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

@echo offecho 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.iniecho Starting Nginx...D:\WNPMServer\RunHiddenConsole\RunHiddenConsole.exe D:\WNPMServer\nginx\nginx.exe -p D:\WNPMServer\nginxping -n 3 127.0.0.1 > nulExit

 

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

@echo offecho Stop Nginx...taskkill /F /IM nginx.exe > nulecho Stop PHP FastCGI...taskkill /F /IM php-cgi.exe > nulping -n 3 127.0.0.1 > nulexit