The Prompt Command
The prompt command is used to modify the string used to tell the operator the computer is ready for input. By typing the prompt command with a $ sign, followed by either specific switches or a string of text, the command prompt instantly changes to that ready set. Two of the most commonly used prompt characters are $P and $G. The $P is expanded to the current directory context, and the $G is replaced by the > symbol. In the screenshot below, the $T switch has been used to insert the current system time.
The prompt command is the one noticeable exception to the / switch convention, probably because its parameters are used for string replacement rather than option configuration.
The prompt command does accept the /? help parameter though, and displays a list of the available string expansions that can be used.
Home - Table Of Contents - Contact Us
CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com
Version 1.0 - Version Date: March 29, 2005
Adapted with permission from a work created by Tcat Houser et al.
CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.