Chat using Command Prompt
We all do a lot of chatting in daily life to communicate with friends and relatives. we use different client to perform this action or some software's.But Most of us don't know how it works what is mechanism behind chatting. In chatting we use a Notice board where all people write and this notice board is visible to everyone everyone write there and the written information is visible to all. in Programming it work's using File handling there is a file which behave like notice board and open for everyone to write and visible to all exe files which are executing. every user write there and at same time it displays to other users in chat.
If you want to chat with some one and not want to use any Software /Client you can do this using your command prompt. ALL you need is IP address of your Friend's computer.
Recommended: How to Find Ip Adress of Friend
First of all Find IP address of friend computer and after that Follow steps to Chat with Friend
1. Open Notepad and write Following code as it is.
@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A
3. Now save this as "Messenger.Bat".
4. Open the file
5. Type the IP Address of the computer you want to contact and press enter
6. Now all you need to do is type your message and press Enter.
Start Chatting.......!