DOS prompt
The message DOS displays when it is ready to accept user input. The default DOS prompt (C:\>, D:\>, etc.) displays the current drive and directory. Earlier versions of DOS did not display the directory name and required that the Prompt command be used with the following parameters to produce the same results:
prompt $p$g
Prompt
Code Displays
$p Current drive/directory
$g >
$l <
$n Default drive
$t Time
$d Date
$v DOS version
$_ Go to next line
The command, prompt XYZ Company$_$d$_$p$b
would generate the following DOS prompt:
XYZ Company
Tue 04-30-2001
C:\>
Computer Desktop Encyclopedia THIS DEFINITION IS FOR PERSONAL USE ONLY
All other reproduction is strictly prohibited without permission from the publisher.
Copyright © 1981-2009 by Computer Language Company Inc. All rights reserved.
Share on Facebook
Browse dictionary definitions near DOS prompt
Also Mentioned In