- command line prompt showing how long last command took?
- Posted by sillyhat@yahoo.com on May 12th, 2006
Hello
I sometimes use a prompt like this:
PROMPT=$D $T$H$H$H [$P]$_$G$S
which gives me this:
Fri 2006-05-12 16:55:32 [H:\]
I would like to be able to have something like this:
Fri 2006-05-12 16:55:32 (00:00:00.34) [H:\]
where the time in bracket is the time taken to execute the last
command.
There is an option under some unix shells to do this.
Is it possible in XP? I know from isssuing a 'prompt /?' that there is
no direct way of doing it but perhaps there is some undocumented way.
If not, I'll stick to TIMETHIS.EXE
Thanks in advance.
Hal
- Posted by Wesley Vogel on May 13th, 2006
Try the Search for here...
http://www.jsifaq.com/
Also try asking in...
microsoft.public.win2000.cmdprompt.admin
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:1147449616.317799.8100@j73g2000cwa.googlegrou ps.com,
sillyhat@yahoo.com <sillyhat@yahoo.com> hunted and pecked:
- command prompt (Microsoft Windows) by Smurge Wurfler
- Command Prompt (Computers & Technology) by Rosco
- Command Prompt won't accept command (Microsoft Windows) by Marge
- Command-line unzip programs that preserve long filenames? (Software & Applications) by Clint Olson
- Command line archiver that stores Long file names (Software & Applications) by

