Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

14:02>

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 stackoverflow.com May 15 '11 at 6:37

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

1 Answer 1

up vote 9 down vote accepted

prompt $t$g

And see http://ss64.com/nt/prompt.html for a complete list

share|improve this answer
    
Brilliant - thank you. –  Daniel Williams May 14 '11 at 20:56
2  
prompt $T$H$H$H$G gives me exactly what I want –  Daniel Williams May 14 '11 at 20:58

Your Answer

 
discard

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.