1) Open notepad then copy then following code and paste into notepad.
@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A
2) Save the file as "Msg.bat". Here .bat extension is necessary not the file name.
/*Now if you run it then you can not send messages, for that you have to start a service.*/
3) Goto Control panel -> Administrative Tools -> Services. In that window select the service "Messenger".
4) Double click it then click on to the "General" tab and Set the Startup Type "Automatic". Now Click "Start" to start the service.
5) When the service started succesfully the close the all opened window.
6) Now open/run the file(Msg.bat) which was created by you.
7) When it prompting for User: then type the IP address to which you want to send a message.
8) Then type the message body and press enter to send the message.
No comments:
Post a Comment