試験管のなかのコード :: VMWare Player のサービス停止

http://www.in-vitro.jp/blog/index.cgi/VMWare/20051120_01.html
[vmware]こーいうバッチを書いた。


@echo off
rem ==============================
rem VMware Service Start/Stop
rem ==============================
IF "%1" == "" GOTO HELP
IF "%1" == "start" GOTO START
GOTO STOP

:HELP
echo Input: vmService {START or STOP}
GOTO END

:START
echo start...
net start "VMWare Authorization Service"
net start "VMWare DHCP Service"
net start "VMWare NAT Service"
GOTO END

:STOP
echo stop...
net stop "VMWare NAT Service"
net stop "VMWare DHCP Service"
net stop "VMWare Authorization Service"
GOTO END

:END