Code:
:loop
net send 555.666.777.888 "Replace this message and IP number"
set c=!%c%
if not %c%==!!!!!!!!!! goto loop
net send 555.666.777.888 "This was the last time."
Set the last line to another amount of !'s to do it more times. Every ! will loop once.
You can remove/change the last net send.
The following one is modified, you'll need a choice.com file from a 9X machine too.
This will wait one second between every message.
Code:
:loop
net send 555.666.777.888 "Replace this message and IP number"
set c=!%c%
choice /n /c:@ /t:@,1
if not %c%==!!!!!!!!!! goto loop
net send 555.666.777.888 "This was the last time."
Bookmarks