Tuesday, February 26, 2013

Chat using Command Prompt

Hi out there guys.
So want to chat with your gf/bf, friends in school computerlab or ask answers for questions during a practical exam.

I request all of you not to do this if you can't understand it.And if you get caught,it is not my responsibility.I am just Posting so that you people get to know about it.Anything that happens,it is not my responsibility

Now i will show you how to setup a chat program with cmd.
Step1.open notepad and types this:
@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 "Messenger.bat"(can be changed according to your wish.).

note:choose all files type before saving messenger.bat and add .bat for your filename.
For assistance in saving .bat filevisit:
http://wiki.answers.com/Q/How_can_you_save_files_on_notepad
_in_bat_format_or_if_you_can%27t_please_tell_me_which_text_editor_can

open the .bat file and in command promt you should see this:

MESSENGER
User:
After "User" type the IP address of the computer you want to contact.
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:
MESSENGER
User: 56.108.104.107
Message: Hi
Now all you need to do is press "Enter", and start chatting!

No comments:

Post a Comment