MSG2Server verbessert

This commit is contained in:
ms
2025-03-18 13:43:25 +01:00
parent d275cf320d
commit a46d9cff23
6 changed files with 55 additions and 4 deletions

18
Dokumentation/msgsend.bat Normal file
View File

@@ -0,0 +1,18 @@
@echo off
if "%~2"=="" (
echo Nutzung: %~nx0 "Nachricht" Computer1 Computer2 Computer3 ...
exit /b 1
)
set "Nachricht=%~1"
shift
:loop
if "%~1"=="" goto :end
echo Sende Nachricht an %~1...
msg * /server:%~1 %Nachricht%
shift
goto loop
:end
echo Nachricht wurde gesendet.