Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like my command prompt (not powershell, just command prompt) to show the time, something like this:


Is there a way to do this? Basically, I leave things running from the prompt, and it would be nice to see what time I executed various commands.

share|improve this question

migrated from May 15 '11 at 6:37

This question came from our site for professional and enthusiast programmers.

up vote 13 down vote accepted

prompt $t$g

And see for a complete list

share|improve this answer
Brilliant - thank you. – Daniel Williams May 14 '11 at 20:56
prompt $T$H$H$H$G gives me exactly what I want – Daniel Williams May 14 '11 at 20:58
prompt $T$H$H$H$S$P$G includes time & path – Eamon Nerbonne Jun 13 at 19:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.