MSG2Server verbessert
This commit is contained in:
18
Dokumentation/msgsend.bat
Normal file
18
Dokumentation/msgsend.bat
Normal 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.
|
||||
Reference in New Issue
Block a user