I writing a batch file where I need to append a blank line to a text file named results.txt. The output to the file should look like this:
Starting log at [time]
IP Addresses
==========
This is what I've tried to achieve this result so far:
echo Starting log at %TIME%>>results.txt
echo.>>results.txt
echo IP Addressess>>results.txt
echo ===========>>results.txt
Everything except the "echo." is working. I know that in a batch file, if you type echo followed by a period that it will return a blank line in command line. So how do I get it to enter a blank line in a text file?
Starting log at [time]
IP Addresses
==========
This is what I've tried to achieve this result so far:
echo Starting log at %TIME%>>results.txt
echo.>>results.txt
echo IP Addressess>>results.txt
echo ===========>>results.txt
Everything except the "echo." is working. I know that in a batch file, if you type echo followed by a period that it will return a blank line in command line. So how do I get it to enter a blank line in a text file?