REM ###############################################################
REM # リモートコンソールパック(トライアル版)のインストール #
REM ###############################################################
if "%1"=="" goto USAGE
if "%1"=="/?" goto USAGE
if "%1"=="/help" goto USAGE
if "%1"=="/install" goto INSTALL
if "%1"=="/remove" goto REMOVE
if "%1"=="/tools" goto TOOLS
GOTO usage
:install
REM ### リモートコンソールパック(トライアル版)のインストールを行う
ECHO リモートコンソールパック(トライアル版)のインストールを開始します。
for %%f in (%windir%\system32\rcmdsrv.exe %windir%\system32\ttysrv.exe %windir%\system32\telnetd.exe %windir%\system32\shutsrv.exe) do if exist %%f goto NOREMOVE