How to make chat with command prompt (cmd)

 by bakermiro
2011-10-15_193551.png
Hi everyone today I will show you how to make chat with cmd .
First open Notepad and write this

@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A

and then save as "Messenger.bat" and close the Notepad
 
Remove these adsRemove these ads by Signing Up

Step 1:

2011-10-15_193544.png
2011-10-15_193620.png
when you open the file Messenger it will open the command prompt
whit this.

Messenger
User:

after "User" write the ip of the computer you want to contact and then press enter.
tiradukunda says: Jun 18, 2013. 9:46 AM
hey tel me one of the codes u're using i would like to make a game too.
weemanrd says: Nov 2, 2011. 11:48 AM
@echo off
echo Messenger
echo When typing the computer name, type
echo in /server:computer replacing
echo computer with the IP adress of the computer.
:START
set /p c=Enter computer name here:
:A
set /p m=Enter message here:
msg * %c% %m%
GoTo A

This allows you to create a messenger on Windows 7 and after entering the ip address of the computer for the first you can simply send messages after that, without needing to re-enter the ip address
mnovelli2 in reply to weemanrdOct 22, 2012. 6:34 PM
Also, what if I'm on my computer at home, and I send a message to a computer at school using that one CPU's IP address. Would the message send to just that computer or all the school CPU's? Or, If I'm on a school CPU, how do I send a MSG to an Individual user?
mnovelli2 in reply to weemanrdOct 22, 2012. 6:18 PM
Will this work sending a message from Windows XP to Windows Vista or vice versa?
bharatazmera in reply to weemanrdJun 11, 2012. 1:37 AM
where i should type the ip adress of my frnd??
mnovelli2 in reply to bharatazmeraOct 22, 2012. 6:35 PM
Enter the IP where it says "user"
teknohawk says: Sep 20, 2012. 5:20 PM
Ok, so I did research, and to figure out your computer ip adress, go to www.whatismyipadress.com and it says right there.


impulsegordon says: Mar 14, 2012. 2:06 PM
DOES NOT WORK ON WINDOWS VISTA OR LATER
GASSYPOOTS says: Feb 20, 2012. 2:03 PM
whats your ip
spystealth1 says: Oct 20, 2011. 1:48 PM
Where did you learn to do this? I'm just wondering because I wrote a how-to on wikihow.com exactly like this. You can find it here: http://www.wikihow.com/Chat-With-Command-Prompt
By the way, it's no problem as long as you give credit to where credit is due. :)
bakermiro (author) in reply to spystealth1Oct 25, 2011. 6:33 AM
I learn that from my friend.
spystealth1 in reply to bakermiroOct 27, 2011. 6:46 PM
Oh, Okay. (So where did he learn it?) :)
Dark-player in reply to spystealth1Dec 6, 2011. 9:33 AM
he probably learned batch^^
Want to learn to?
open up a cmd-window and mess around with it. I learned it like that too.
Now I make games in batch^^.
([WIN]+[R], a run-window appears, write "cmd" and press enter).
spystealth1 in reply to Dark-playerDec 10, 2011. 11:13 AM
Yeah, messing around inside a command prompt is fun. Here is a reference sheet from makeuseof.com containing a bunch of cool commands: http://www.makeuseof.com/pages/windows-command-prompt-commands-pdf
Panchz says: Oct 20, 2011. 3:55 PM
im sorry but this is useless.. and if you want to make it work on win7/vista
change the net send command to msg

is useless because it only allows to chat by LAN (local network)

and i beleave most people is not connected to others by lan and you have to tell username eachtime you want to say something.. will be better if u say user once and to have a option to change username whenever u want.
tabascow says: Oct 19, 2011. 4:39 AM
WOAH!!!!!!!!!!!!!!!this rocks!!!!!!!!!!!!!!!!!!!!!!!!!xD
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!