|
Answer» whats up everyone!
now, everyone knows the NET send command? rite and some know there is a batch file that goes like this:
@echo off :A Cls echo MESSENGER set /p a=USER: set /p b=Message: net send %a% %b% Pause Goto A
and when you run it, it asks for the user, and the messege but i want another type of batch file
instead of a net send batch file i want a "for /L %i IN (1,1,150) DO net send IP_ADDRESS_OR_NETWORK_NAME %i" batch file
"for /L %i IN (1,1,150) DO net send [IP_ADDRESS_OR_NETWORK_NAME] %i [message]" is a command that you use to send the number of messeges alot of time (in this case 150) but i need someone to do a batch file that asks you for the user to send it to and the messege but i want it to ask the number of TIMES...
i did one but did not work... and here is how it looks
@echo off :A Cls echo MESSENGER set /p a=User: set /p b=Message: set /p c=Times: for /L %i IN (1,1,%c%) DO net send %a% %i %b% Pause Goto A
thanks for your help and timeIt's just a question of playing the percentages.
Code: [Select]@echo off echo MESSENGER set /p a=User: set /p b=Message: set /p c=Times: for /L %%i IN (1,1,%c%) DO net send %a% %%i %b%
Why do you want to send multiple MESSAGES to the same user? Don't answer that, I don't REALLY want to know.
Good luck. 8-)thanks,
u da best
|