Difficulty: Easy
Correct Answer: prompt
Explanation:
Introduction / Context:
The default DOS prompt (e.g., C:>) can be enhanced to show additional context like the current path, time, or special characters. This is helpful for administrators who navigate deep directory trees or maintain multiple drives. DOS provides a built-in command for defining the prompt's format string.
Given Data / Assumptions:
Concept / Approach:
The PROMPT command accepts format codes such as $P (current drive and path), $G (>), $T (current time), $D (date), and more. For example, PROMPT $P$G yields a prompt that displays the full path followed by >. This can be placed in AUTOEXEC.BAT for persistence. Other listed terms (windows, cursor, click) are not DOS commands for prompt customization.
Step-by-Step Solution:
Verification / Alternative check:
Typing PROMPT /? lists all supported tokens, confirming how to display drive, path, time, and other context in the prompt line.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
prompt.
Discussion & Comments