TIMEOUT /T 1000 /NOBREAK
sleep -m 1000
echo *** Date: %DATE:/=-% and Time:%TIME::=-% *** >> output.log
ECHO
. Also, put the quotes around the entire file path if it contains spaces.>
to overwrite a file if it exists or create if it does not exist. Use >>
to append to an existing file or create if it does not exist.