Do you want to chat with your friends over a LAN? This wikiHow will teach you how to chat over LAN using Command Prompt. To do this, the computers need to be connected to the same network.

Steps

  1. 1
    Launch Command Prompt. You can find it by pressing the Windows key and typing "cmd." A search window will appear with the Command Prompt app as the first search result. Click that, and Command Prompt will open.
  2. 2
    Type the command to send a message.
    • msg /SERVER:COMPUTERNAME * /TIME:60 "Hello! This message will close in 60 seconds"
    • Replace "COMPUTERNAME" with the name of the PC you're trying to send the chat to (check your local network for the name of this computer if you don't know it).
    • Replace the text that appears between the quotation marks with the message you want to send.
    • Replace the value for "Time" to change how long the message will appear on their screen (60 means 60 seconds).
    Advertisement
  3. 3
    Press Enter. The message should send to the other computer for the time specified.
    • If that command isn't working and you're running a version older than Windows 10, try entering net send ip address "Is this message working?". Replace "ip address" with the local IP address of the computer you're trying to send the message to.[1]
  4. Advertisement

Community Q&A

  • Question
    How do I do this in windows 10?
    wikiHow Staff Editor
    wikiHow Staff Editor
    Staff Answer
    This answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
    wikiHow Staff Editor
    wikiHow Staff Editor
    Staff Answer
    The above method will work for Windows 10. Earlier versions of Windows has different coding.
  • Question
    What does the message appear as on the other computer?
    wikiHow Staff Editor
    wikiHow Staff Editor
    Staff Answer
    This answer was written by one of our trained team of researchers who validated it for accuracy and comprehensiveness.
    wikiHow Staff Editor
    wikiHow Staff Editor
    Staff Answer
    It'll appear as a pop-up terminal window on the other computer that's on the same network.
  • Question
    So, do I use [Hi!] or just say Hi!?
    Community Answer
    Community Answer
    You type it without the [ ]. They commonly just represent a placeholder.
Advertisement

About This Article

Darlene Antonelli, MA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene Antonelli is a Technology Writer and Editor for wikiHow. Darlene has experience teaching college courses, writing technology-related articles, and working hands-on in the technology field. She earned an MA in Writing from Rowan University in 2012 and wrote her thesis on online communities and the personalities curated in such communities. This article has been viewed 58,699 times.
How helpful is this?
Co-authors: 7
Updated: June 8, 2021
Views: 58,699
Categories: Command Prompt
Article SummaryX

1. Open the Command Prompt.
2. Type the following code: "msg /SERVER:DestinationPC * /TIME:60 “This is the message to be sent to a PC named DestinationPC and closes in 60 seconds."".
3. Press Enter.

Did this summary help you?
Advertisement