(insert buzzer sound here)
You kids need to read your DOS (or unix - it's the same syntax) manuals more.
> (one "greater than" sign) re-creates the file if it already exists.
>> (two "greater than" signs) appends the data to an existing file, or creates it if it does not exist.
Imancer