title: How do I create an update function in Batch?
body: <p>I would like to create an update function that works just after the user is prompted to type into the "ChatBox" so that other users on my school network can type and all other users can see it without having to restart the program or typing space to reload the .txt file</p>
  
  <p>here is the code I have written so far;</p>
  
  <pre><code>:enter
  cls
  type cblog.txt
  echo.
  set /p text=
  echo %text% &gt;&gt; cblog.txt
  goto enter
  </code></pre>