Batch File - Add new line instead of overwriting file
<p>I create a simple Batch File - Insert text.</p>

<pre><code>@echo off

set /p title="Enter Title: "
set /p username="Enter username: "
set /p password="Enter password: "

echo %title% &gt; credentials.txt
echo %password%&gt;&gt;credentials.txt
echo ==========&gt;&gt;credentials.txt
cls
</code></pre>

<p>My problem is that every time I run the program, the code deletes the text in file and overwrites it with the new text. But I want to save everything, old and new.</p>