This tip was printed from the MalekTips Computer and Technology Help and Tips website at http://malektips.com.

DOS and Batch Files - Place Date and Time in the Prompt

SUMMARY: When working long nights debugging batch files, have the time and date displayed in a place easy to find - the command prompt.

Always looking around for the current date and time? Why not place it in a useful place, say, the command prompt?

Add this line to AUTOEXEC.BAT:

prompt Time: $t$_Date: $d$_$p$g


 

 

Press the "print" button on your browser or select "File" - "Print" to print this tip. Then, return to DOS and Batch Files - Place Date and Time in the Prompt

Standard disclaimer applies - read http://malektips.com/disclaim.html