Batch Chat New Line

Gigabyte Ga-ma790fxt-ud5p motherboard
October 20, 2009 at 14:51:32
Specs: Windows XP
I made a chat client in batch for use at my school. It basically writes the user's input to a .txt file on the server, and then the "viewer" displays the file. It automatically refreshes every 3 seconds, and this gets really annoying because when it does, the text flashes. I am using the type command to display the text, is there a way that it would only refresh if there is new text in the document?


@echo off
Color 02
Title XLII's Chat Viewer
type chat.txt
ping localhost -n 2 >nul
goto start

See More: Batch Chat New Line

Report •

October 20, 2009 at 15:32:24
Why are you trying to reinvent the wheel? Use NET SEND or better yet Google Talk is great.

Report •

October 20, 2009 at 18:17:35
Just to prove to my self that I could do it. Also, it would be great to learn what I am missing so that I can improve my programing skills.

Report •

Related Solutions

Ask Question