Home » questions » MS-DOS time command?
MS-DOS time command?
I want to be able to use the time command without it saying "Enter new time" afterwards so that I can place the time into a log (like time >> c:\timelog.log for example). How can I do this? I want to do the same thing with the date command as well.
Slightly unrelated, but I also forgot how to echo a blank line, could you tell me how to do that as well?
No you don't understand - if you type "time" at a prompt, it gives you the time and the says "Enter New Time" - I don't want it to say that because I want to save it to a text file.
No Jono, just typing echo does not leave a blank line, it tells you if echo is on or off.
Thanks for the /t thing, works great.

Answers
Neussendorfera
On 2006-08-16 13:31:11
Laurie S
On 2006-08-16 13:25:13
freehandorb
On 2006-08-16 14:25:20
jono
On 2006-08-16 13:37:03
barrytabrah
On 2006-08-16 13:35:50