Thursday, December 23, 2010

44. Chat in MS-DOS

\Today in this post i will show  you that how you can chat with your friends on internet or without internet through MS-DOS, yup thats right we can chat  in ms-dos through command prompt. its pretty easy and interesting  too. So lets start from first step.

1) So for chatting with your friend you need his/her computer’s IP address.
2) After getting IP address now, copy paste below written 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 “RahulTyagi.Bat”, or “Messenger.bat” [You can rename with your name]
4) Now just open Command Prompt.
5) Either you can drag this file (.bat file) over to Command Prompt or just double click on the file and press Enter.
6) Instantly you will see a screen like below
7) Now, you have to type the person’s IP address ( he he not Person’s , I means, computer’s IP address). After entering you will see screen like below
 Now you’re done, now chat with your girl friend at school or even in Lab, Especially when she is not near by you. 

1 comment: