I'm working on a batch file for my program's setup.
I want to make a log from the batch file that logs the run time and date I created:
( echo Setup Run Log echo The setup was runned at %time% on %date% by %username%. )>run.log.
But every time the code runs it over writes the information in the file. I want that the first time the batch starts a run.log file to be created that has Setup Run Log and every other time the batch runs the time, date and username be written on the line below a line that already has something written.
My question: How to output to the last line in a file.