HOW TO SEND MESSAGE BY COMMAND PROMPT | CHAT BY CMD - Anna University Multiple Choice Questions

HOW TO SEND MESSAGE BY COMMAND PROMPT | CHAT BY CMD

Do you want to chat with your friends in computer without using any social networks ?.Here is the simple technique to chat with your friends in computer by using command prompt.

This technique mostly helps the students or officers to chat with the co-workers without using any special application.To chat with your friends the computer systems must be connected with each other.(Wired or wireless connection).

To send a message,you need the destination address,that is the IP address of your friends computer.

Procedure:
  • Open the Notepad and type the following codes
@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A
  • Now save this file as "Messenger.bat".
  • Open the Messenger.bat file.
  • Now command prompt window will appear and you will see as below
MESSENGER
User:
  • After "User" type the IP address of the computer that you want to chat.(Destination address)
  • Now click enter,The message field will be appeared.Like as shown below
MESSENGER
User:27.196.391.193
Message:
  • Now after the message field type the message that you wish to send.
  • Now press enter,it should be look like this.
MESSENGER
User:27.196.391.193
Message: Hi
  • Now again press enter.
  • That's all.Now enjoy by chatting with your friends.
This chatting method is useful for the computer field students.Because in their labs,the computers will be interconnected by using LAN cable.

To Know more computer tricks --> Click Here

No comments:

Post a Comment