make an output file with entries.cmd

Post date: Feb 3, 2011 11:22:26 PM

@echo off

setlocal enableDelayedExpansion

echo Keep entering line of text. (Enter empty line to exit)

:back

set nLine=

set /p nLine=Enter line:

if not DEFINED nLine goto :eof

echo %date% %time% !nLine! >> OutputFile.log

goto back