:test ECHO %computername% %date% %time% >>e:\test.txt goto test