Chat through command prompt

You have ofcourse heard about chatting through yahoo messenger ,google talk & various other protocol.But chatting through command prompt might be new to u.What u need is the IP Address of the person with whom u want to  chat.Thats it........In order to accomplish this u have fist create a .bat file(batch file)Now, lets start with it.Open your  Notepad and type:
@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A


Now save this as "Chat.bat". U can save it with any name u like.Doubleclick this .bat file and U will be presented with similar screen shown below:
MESSENGER
User:
After "User" type the IP address of your friend computer with whom you want to chat.

After this, you should see this:
Message:
Now type in the message you wish to send.Before you press "Enter" it should look like this:
image

Now all you need to do is press "Enter", and start chatting!

2 comments:

  1. hi got this error. how to resolve error. plz tell me.
    MESSENGER
    User:192.168.0.143
    Message:hi
    An error occurred while sending a message to 192.168.0.143.

    The message alias could not be found on the network.

    More help is available by typing NET HELPMSG 2273.

    Press any key to continue . . .

    ReplyDelete
  2. Hi Friend,
    The above message is displayed because u r trying to connect to a PC which is not connected with yur PC.Make sure all wires are properly connected b/w both PC.Try this in your college or office but before doing so,get the ip address of machine with which u want to connect or ur message might reach ur boss/Administrator,hehe.....

    To get the IP address of that machine,type
    at command prompt,type 'ipconfig' without quotes.

    ReplyDelete