Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 11-07-2006, 02:42 PM   #1 (permalink)
HELP AND SUPPORT
 
rakeshishere's Avatar
 
Join Date: Jun 2006
Posts: 1,595
Thumbs up Chat With Command Prompt

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!
rakeshishere is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 11-07-2006, 11:34 PM   #2 (permalink)
Wise Old Crow
 
blueshift's Avatar
 
Join Date: Apr 2005
Location: Inside the Pixel
Posts: 1,227
Default Re: Chat With Command Prompt

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.
blueshift is offline  
Old 11-07-2006, 11:35 PM   #3 (permalink)
>:)I-):(|)8-X
 
Charan's Avatar
 
Join Date: Sep 2004
Location: ಬೆಂಗಳೂರು (Bengaluru)
Posts: 3,512
Default Re: Chat With Command Prompt

WOW i didnt know the this was possible . thanks for the info, but i dono my friends IP . Can i know yours rakeshishere just kidding
__________________
i5 2400 | DH67BL | G.Skill Ripjaw 4 GB | FSP SAGA II 500W | CM 430 Black Elite | MSI R6850 Cyclone PE/OC | XBox 360 Controller | 21.5" Samsung Sync Master 2233 | 4 Mbps UL
Charan is online now  
Old 12-07-2006, 12:13 AM   #4 (permalink)
In The Zone
 
vandit's Avatar
 
Join Date: May 2005
Location: If I had a webcam u could have seen me, before your eyes.
Posts: 459
Default Re: Chat With Command Prompt

but how will the other person know that i wanna chat with him??
__________________
Searching for dell studio 15 ??
dell studio 15 review @ my blog

vandit007.blogspot.com

And remember the stylus that comes along with the touchscreens isnt meant for cleaning your ears !!
vandit is offline  
Old 12-07-2006, 01:04 AM   #5 (permalink)
Hey here is the aks
 
arunks's Avatar
 
Join Date: Jan 2006
Location: punjab
Posts: 801
Default Re: Chat With Command Prompt

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.
arunks is offline  
Old 12-07-2006, 03:21 AM   #6 (permalink)
Alpha Geek
 
rahul_becks23's Avatar
 
Join Date: Oct 2004
Posts: 830
Default Re: Chat With Command Prompt

if u can do one thing in windows gui,u can SURELY do it in COM. PROM.
rahul_becks23 is offline  
Old 12-07-2006, 09:13 AM   #7 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,097
Default Re: Chat With Command Prompt

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 by gary4gar; 12-07-2006 at 09:16 AM.
gary4gar is offline  
Old 12-07-2006, 10:32 AM   #8 (permalink)
Apprentice
 
Join Date: May 2004
Location: close to mah pc
Posts: 55
Default Re: Chat With Command Prompt

I am getting an error saying that SEND is not a valid net command ....
I am using Win98... Will it work on it??
Please reply
bazigaar_no_1 is offline  
Old 12-07-2006, 10:59 AM   #9 (permalink)
Coming back to life ..
 
it_waaznt_me's Avatar
 
Join Date: Nov 2003
Location: A bit closer to heaven
Posts: 1,995
Default Re: Chat With Command Prompt

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 ..
__________________
Sleight of hand and twist of fate...
On a bed of nails she makes me wait...
And I wait without you ...
With or without you ..
----
Batty = Too Busy Now !!!
it_waaznt_me is offline  
Old 13-07-2006, 03:05 AM   #10 (permalink)
HELP AND SUPPORT
 
rakeshishere's Avatar
 
Join Date: Jun 2006
Posts: 1,595
Default Re: Chat With Command Prompt

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
rakeshishere is offline  
Old 13-07-2006, 06:15 PM   #11 (permalink)
In The Zone
 
ferrarif50's Avatar
 
Join Date: May 2004
Posts: 221
Talking Re: Chat With Command Prompt

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.
__________________
My time machine will take you one hour into the future in only sixty minutes!
ferrarif50 is offline  
Old 16-07-2006, 02:40 PM   #12 (permalink)
In The Zone
 
nach p's Avatar
 
Join Date: Jan 2006
Location: mUMBAI
Posts: 241
Default Re: Chat With Command Prompt

nice info , its working.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."
-Dennis Ritchie
nach p is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 01:21 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2