Chat With Command Prompt

Status
Not open for further replies.

rakeshishere

HELP AND SUPPORT
Chat With Command Prompt

If you want a private chat with a friend or client on you Network, you don't need to download any fancy program!
All you need is your friends IP address and Command Prompt.

Firstly, open Notepad and enter:

@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". Open the .bat file and in Command Prompt you should see:

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!
 

blueshift

Wise Old Crow
I was initially confused with ur thread title.
But this only works for those having static IP address.
Did you actually test this? I mean how does the other person know of your message?
Thanks anyway for the post. I need to try this.
 

RCuber

The Mighty Unkel!!!
Staff member
WOW i didnt know the this was possible :p . thanks for the info, but i dono my friends IP . Can i know yours rakeshishere :p just kidding :p
 

arunks

Hey here is the aks
but rubbish..
u just changed the way of using net send command
.

the syntax is
net send "ip address or workgroup name" "message"


just type above statement with ur dstination ip and message and press enter,..
u have to type just two additional words net and send in addition to ip adress and message..


U can also use * in place of ip address if wanna send same msg to everybody on network.
 

gary4gar

GaurishSharma.com
it works for u as u are in postal dep of usa can have a static ip but its not pratical in india as few have static ip rest ppl ip chages every time the connect.

anyways a good find
 
Last edited:

it_waaznt_me

Coming back to life ..
Net Send works on Nt machines .. Plus this will work only if the Messenger service (Services.msc) is not disabled .. This is the first service that is blocked by network administrators to manage bandwidth.
Most of us use IP Messenger for chatting on the Lan ..
 
OP
rakeshishere

rakeshishere

HELP AND SUPPORT
Looks like this thread has a lot of questions...Let me answer it

1.Works only for static IP address.
2.Works in win98,win 2000,win xp[according to my test]
3.Use the instructions of it_waaznt_me to work at any errors occuring to you
 

ferrarif50

Journeyman
Well ... heres is version 1.1 ;0

This avoids the repetitive entry of the IP address:


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


This stuff is more useful in a LAN/Intranet system.
 
Status
Not open for further replies.
Top Bottom