Chat With Command Prompt

Discussion in 'Tutorials' started by rakeshishere, Jul 11, 2006.

Thread Status:
Not open for further replies.
  1. rakeshishere

    rakeshishere HELP AND SUPPORT

    Joined:
    Jun 9, 2006
    Messages:
    1,604
    Likes Received:
    30
    Trophy Points:
    0
    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!
     
  2. blueshift

    blueshift Wise Old Crow

    Joined:
    Apr 17, 2005
    Messages:
    1,227
    Likes Received:
    17
    Trophy Points:
    0
    Location:
    Inside the Pixel
    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.
     
  3. RCuber

    RCuber The Mighty Unkel!!! Staff Member

    Joined:
    Sep 7, 2004
    Messages:
    7,105
    Likes Received:
    12
    Trophy Points:
    38
    Location:
    ಬೆಂಗಳೂರು (Bengaluru)
    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
     
  4. vandit

    vandit New Member

    Joined:
    May 31, 2005
    Messages:
    458
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    If I had a webcam u could have seen me, before you
    but how will the other person know that i wanna chat with him??
    :confused:
     
  5. arunks

    arunks Hey here is the aks

    Joined:
    Jan 7, 2006
    Messages:
    809
    Likes Received:
    5
    Trophy Points:
    0
    Location:
    punjab
    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.
     
  6. rahul_becks23

    rahul_becks23 New Member

    Joined:
    Oct 17, 2004
    Messages:
    830
    Likes Received:
    0
    Trophy Points:
    0
    if u can do one thing in windows gui,u can SURELY do it in COM. PROM.
     
  7. gary4gar

    gary4gar GaurishSharma.com

    Joined:
    May 21, 2005
    Messages:
    4,094
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    Jaipur
    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: Jul 12, 2006
  8. bazigaar_no_1

    bazigaar_no_1 New Member

    Joined:
    May 18, 2004
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    close to mah pc
    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
     
  9. it_waaznt_me

    it_waaznt_me Coming back to life ..

    Joined:
    Nov 30, 2003
    Messages:
    2,023
    Likes Received:
    10
    Trophy Points:
    38
    Location:
    A bit closer to heaven
    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 ..
     
  10. OP
    OP
    rakeshishere

    rakeshishere HELP AND SUPPORT

    Joined:
    Jun 9, 2006
    Messages:
    1,604
    Likes Received:
    30
    Trophy Points:
    0
    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
     
  11. ferrarif50

    ferrarif50 Member

    Joined:
    May 27, 2004
    Messages:
    221
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  12. nach p

    nach p New Member

    Joined:
    Jan 10, 2006
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    mUMBAI
    nice info , its working.
     
Thread Status:
Not open for further replies.

Share This Page