• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

PROMPT

The PROMPT environment variable describes the type of command-line prompt you want DOS to use. It is set by the user with either the PROMPT or SET PROMPT= command. The default command-line prompt that DOS uses if the PROMPT environment variable is undefined is the letter of the current drive and >—for example, C>.

If the PROMPT environment variable doesn't exist, the DOS 6.0, 6.2, and 6.22 versions of COMMAND.COM create it automatically with a value of $P$G. This prompt shows the current directory as well as the current drive; for example, C:\DOS>. The only way to have the PROMPT environment variable undefined is to delete it.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint