mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
553 B
25 lines
553 B
@echo off
|
|
if (%1) == () goto usage
|
|
if (%2) == () goto usage
|
|
echo.
|
|
echo Microsoft WebCAT Client configuration
|
|
echo Configuring WebCAT Controller Name and IP address...
|
|
echo.
|
|
echo Setting controller name to "%1"
|
|
echo set WC_CTRLERNAME=%1>stctrler.bat
|
|
set WC_CTRLERNAME=%1
|
|
echo Setting controller IP address to "%2"
|
|
echo set WC_CTRLER=%2>>stctrler.bat
|
|
set WC_CTRLER=%2
|
|
echo.
|
|
if exist client.exe del client.exe
|
|
goto end
|
|
:usage
|
|
call beep
|
|
echo Specify the name and IP address of the Controller machine
|
|
echo Example:
|
|
echo config control1 11.1.38.102
|
|
:end
|
|
|
|
|
|
|