This commit is contained in:
USER
2023-01-17 23:13:43 +00:00
parent 35571c0885
commit 8258f2967d
12 changed files with 21 additions and 22 deletions

View File

@ -1,2 +0,0 @@
set DUFUS="1816161258:AAGNRS1t_ApXwAm0jJyms5H6H7BaJFPvyok"
set TCHATID="1462463122"

View File

@ -1,10 +1,9 @@
@echo off
call C:\Scripts\wBase\baseENV.bat
@REM xxxxxxx
set STRING='%~1%'
call %BASE%\nmsg.bat %STRING%
call %BASE%\Msg\nmsg.bat %STRING%

View File

@ -1,10 +1,9 @@
@echo off
call C:\Scripts\wBase\baseENV.bat
@REM xxxxxxx
set STRING='%~1%'
call %BASE%\nmsgH.bat %STRING%
call %BASE%\Msg\nmsgH.bat %STRING%

View File

@ -5,6 +5,8 @@ echo "Found computer %check_computername%"
set PACKAGES="C:\Packages"
set WPUBLIC="C:\wPublic"
set BASE=C:\Scripts\wBase
set LOCAL=C:\Scripts\wLocal
set TMESSAGE=%BASE%\tmessage.bat
set BASE="C:\Scripts\wBase"
set LOCAL="C:\Scripts\wLocal"
set TMESSAGE="%BASE%\Msg\tmessage.bat"
set TMESSAGEH="%BASE%\Msg\tmessageH.bat"
set POWERSHELL="%SYSTEMROOT%\system32\WindowsPowerShell\v1.0\powershell.exe"

View File

@ -1,7 +1,7 @@
@echo off
set C:\Scripts\wBase\baseENV.bat
call C:\Scripts\wBase\baseENV.bat
@REM xxxxxxx
echo "%~n0: Start"
echo "base_Logon: FIXTIME"

View File

@ -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
)

View File

@ -1,12 +1,10 @@
@echo off
set C:\Scripts\wBase\baseENV.bat
call C:\Scripts\wBase\baseENV.bat
@REM xxxxxxx
echo "%~n0: Start"
set LOCAL_LOGON=%LOCAL%\local_Logon.bat
echo "base_Logon: Started"
FOR %%x IN (%BASE%\b_*.bat) DO (
echo "%%x"
call "%%x"

View File

@ -1,7 +1,7 @@
@echo off
set C:\Scripts\wBase\baseENV.bat
call C:\Scripts\wBase\baseENV.bat
@REM xxxxxxx
echo "%~n0: Start"
set LOCAL_ONBOOT=%LOCAL%\local_Onboot.bat