.
This commit is contained in:
@ -1,13 +1,16 @@
|
||||
@echo off
|
||||
|
||||
set C:\Scripts\wBase\baseENV.bat
|
||||
call C:\Scripts\wBase\baseENV.bat
|
||||
@REM xxxxxxx
|
||||
|
||||
echo "%~n0: Start"
|
||||
|
||||
if "%check_computername%" EQU "SERVER" (
|
||||
echo " NOT shutting down server "
|
||||
set SHUTDOWN=0
|
||||
)
|
||||
|
||||
if [%SHUTDOWN%] == [0] (
|
||||
echo "Not shutting down"
|
||||
) else (
|
||||
echo "echo "shutting down""
|
||||
echo "shutting down"
|
||||
call %TMESSAGE% '"%check_computername% shutting down"'
|
||||
C:\Windows\System32\shutdown.exe /s /t 1
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user