Windowsのサービスをコマンドプロンプトから操作する
現在動作中のサービスのリストを取得
net start
サービス登録
mysevice.exe -/Service
サービス解除
mysevice.exe -/UnRegServer
サービス開始
net start mysevice
サービス停止
net stop mysevice
net start
mysevice.exe -/Service
mysevice.exe -/UnRegServer
net start mysevice
net stop mysevice