サービスの登録と削除
サービスの追加
サービスの追加
例:
C:\Apache24\bin\httpd.exe
をサービスとして登録する
cd C:\Apache24
bin\httpd.exe -k install -n "Apache24"
サービスの削除
サービスの削除
sc.exe delete [サービス名]
例:
C:\Apache24\bin\httpd.exe
をサービスとして登録する
cd C:\Apache24
bin\httpd.exe -k install -n "Apache24"
sc.exe delete [サービス名]