@echo off echo Windows >>c:\list.txt echo %date% %time%>>c:\list.txt echo. >>c:\list.txt