Chat Program

This is no fake, the CMD program that I will show you how to make is a chat program. You can message your friends or family in school or at home!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Open Notepad

Press the windows button, then type notepad or make a new text document.

Step 2: The Code (1)

Type this into the notepad and save it as messenger.bat

@echo off

color 0a

title Chat Messenger

echo Hi, welcome to the chat program!

echo.

set /p username=Enter Your Name:

echo %username% had joined! >>join.dat

:message

set /p message=Say:

goto :send

:send

echo %username%: %message% (%time%)>> log.dat

goto :message

Either type, copy, or download from this link: https://drive.google.com/file/d/0B49gQ2qjqc5dcmNqY...

Step 3: The Code (2)

Type this into a new document and save it as receiver.bat

@echo off

color 0a

:read

cls

type join.dat

echo.

type log.dat

echo.

timeout /t 1

goto :read

Download Link:

https://drive.google.com/file/d/0B49gQ2qjqc5dUDdaT...

Be sure to save this in the same folder as the other program.

Step 4: Try It!

Now just open both programs, type in your name, and say something. Boom! You just made a chat program. Now all you have to do to chat with others is share the folder with them! To share the folder... Right click the folder and press share. Now specify who on the network you are sharing it with and press apply and done. How this works is the messenger makes a document and the receiver reads the document and types it on the screen.

Coded Creations

Participated in the
Coded Creations

Share

    Recommendations

    • Indoor Lighting Contest

      Indoor Lighting Contest
    • Make It Fly Challenge

      Make It Fly Challenge
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest

    8 Discussions

    0
    None
    cyasye

    4 months ago

    i enter my name and it says access denied then say

    0
    None
    cyasye

    4 months ago

    this doesnt seem to work

    0
    None
    SAOarmy

    Question 7 months ago

    How do I add more people to my server?

    0
    None
    YourPalRob

    2 years ago

    Nice Job, Very Impressive, keep up the Good work!

    0
    None
    directrix

    3 years ago

    Hey ,i am a student at (DPU "IT department") was looking for an IT project and i found this and its amazing thanks for posting this video. i support you ,(post more c# programing).

    0
    None
    jerome gideon

    3 years ago

    this is amazing iv long waited for this

    0
    None
    mrck10

    3 years ago

    yo this works thnx