ÇÊÀÚ´Â µÎ°³ÀÇ ¹èÄ¡ÆÄÀÏÀ» ÀÛ¼ºÇß´Ù.
SNDMSG "message text" User1 User2 User3 . . . Usern
@echo off
if {%1}=={} (echo usage: sndmsg "text" user-list) & (goto :EOF)
if {%2}=={} (echo usage: sndmsg "text" user-list) & (goto :EOF)
:LOOP
if {%2}=={} goto :EOF
net send %2 %1
shift /2
goto :LOOP
:EOF
SNDMSGL "message text" "\Folder\Filename.Ext"
@echo off
if {%1}=={} (echo usage: sndmsgl "text" user-list.txt) & (goto :EOF)
if {%2}=={} (echo usage: sndmsgl "text" user-list.txt) & (goto :EOF)
if not exist %2 (echo %2 not found) & (goto :EOF)
for /f "eol=; Tokens=*" %%i in (%2) do net send %%i %1
:EOF
¿©±â¼ \Folder\Filename.Ext´Â Çà´ç ÇѸíÀÇ »ç¿ëÀÚ¸¦ Æ÷ÇÔÇÏ´Â »ç¿ëÀÚÀÇ ¸ñ·ÏÀÌ´Ù. ÁÖ¼®(ù¹øÂ° ¿ÀÌ ;ÀÎ)Àº ¹«½ÃµÈ´Ù.
´ñ±Û: