@Echo OFF
cd /d %~dp0
SET regpath=%cd%
ECHO "安装Windows服务..."
%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\InstallUtil 服务程序.exe
ECHO "启动Windows服务..."
NET START "服务名"
PAUSE
@ECHO OFF
cd /d %~dp0
SET regpath=%cd%
ECHO "卸载Windows服务..."
%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\InstallUtil -u 服务程序.exe
PAUSE
欢迎光临 苏飞论坛 (http://www.sufeinet.com/) | Powered by Discuz! X3.4 |