Chat With Command Prompt

Chatting with command prompt was fun, during our computer classes me and my friends used to chat on command prompt. Actually it’s also a nice trick to woo your friends. So, today I am going to guide you on how to chat with command prompt. Actually, for this trick all you need to know is your friends IP Address.

How it Works?

Basically the trick works on a very simple idea,

  • It actually creates a batch file that asks for your friend’s IP address
  • Then it asks for the message that you want to deliver.
  • After this it finds the given IP address and pings it with the message that you have specified.

Isn’t it quiet interesting? huh.

One thing that I would like to make clear is that you would be able to chat with your friend only if your friend’s computer is also participating in the same network as of yours.

How to Chat using Command Prompt:

Please follow these simple steps to chat with your friends on command prompt.

  • First of all open a notepad and copy this code.

@echo off
echo Chating With Command Prompt
set /p n=User:
set /m m=Message:
net send %n% %m%
Goto A

  • After copying the code, save this file as “Cmd_Chat.bat”
  • Open Command Prompt by typing cmd in Run.
  • Now simply drag this “Cmd_Chat.bat” over command Prompt and hit enter.
  • Now you will see something like in the image below. In the User field enter your friends IP Address and hit enter.

chat with command prompt

  • Now the cursor will start blinking in front of the “Message:” as in the image below. Now simply type the message you want to send to your friend. Hit enter and the message will be pinged to your friend.

Sending message with command prompt

  • Start and Enjoy Chatting!!

Chat on command prompt

So, this was how to chat with command Prompt. If you face any problems or in case you have any queries then please mention in the comments section below.

Happy Chatting. :)


Article by

Ankit is the founder of Geek Revealed. He is tech Geek who loves to sit in front of his square headed girlfriend all day long. :D   You can find Ankit on FaceBook or Google Plus

Comments on this entry are closed.

Previous post:

Next post: