Print this page

UDP Bat File Control 8

 

 

 

 

 

File:

UDP_Relay_1_ON_OFF_keyboard_5.bat

 

Commands:

ECHO OFF
:MENU
CLS
ECHO.
ECHO ...............................................
ECHO.
ECHO KMTronic UDP Relay Control
ECHO.
ECHO PRESS (1), (2) or (3) to EXIT.
ECHO.
ECHO ...............................................
ECHO.
ECHO (1) - Turn Relay 1 ON
ECHO (2) - Turn Relay 1 OFF
ECHO (3) - EXIT
ECHO.
SET /P M=Type 1, 2, or 3, then press ENTER:
IF %M%==1 GOTO ON
IF %M%==2 GOTO OFF
IF %M%==3 GOTO END
:ON
UDP_Relay.exe 192.168.1.199:12345 FF0101
GOTO MENU
:OFF
UDP_Relay.exe 192.168.1.199:12345 FF0100
GOTO MENU
:END

 

 

 

 

Back

 

 

 

 

Read 3054 times