How would I edit a file from a
.bat file that changes the contents of a file located somewhere on the hard drive.
For example there is a file on my desktop, can I make a
.bat script that will add a line to the file like "hello" when it already had some content in it? I would like to add that "hello" line at the end of the file. Can it also edit a file that has no extension such as the HOSTS file?