----^--->
/\

//\\
//The\
/Sy
stem\
////
Guard
\

In the mount of the LORD it shall be seen. Genesis 22:14

PROMPT

Booming Or Fuming? | MasterCatalog | ntlib (FREE) | NTCmdLib | MtCmds | Scripts | Almost Free | TheGuardBook | Help

 

Common
Command Set
INTERNAL

  ASSOC | BREAK | CALL | CD | CHDIR | CLS | COLOR | COPY | DATE | DEL | DIR | ECHO | ENDLOCAL | ERASE | EXIT | FOR | FTYPE | GOTO | IF | MD | MEM | MKDIR | MOVE | PATH | PAUSE | POPD | PROMPT | PUSHD | RD | REM | REN | RENAME | RMDIR | SET | SETLOCAL | SHIFT | START | TIME | TITLE | TYPE | VER | VERIFY | VOL

K

E

Y

Common Commands INTERNAL External /SWITCH Parameter Help text AddonTool
Mounted Commands .Mount/\Command CmdShorthand #Constant $FUNCTION :Procedure !GuardNote
Operating Systems NT/2K/XP/K3 NT Only NT/2K 2K Only 2K/XP XP Only XP/K3 K3 Only 2K/XP/K3

Related Resources from the NT/2K/XP/K3 Command Library

Resource

  Short Description
#PROMPT   "$P$G" (or whatever the prompt was set to at Library /init)

Go straight to !GuardNotes. (updated 2004-07-13)


This is the Mounted Help Text.  We also archive the Common Help Text for NT, 2K, XP and K3

Description

Changes the Cmd.exe command prompt.

Syntax

PROMPT

  [text]

Parameters and Switches

text

 

Specifies a new command prompt.

Examples, Notes and Instructions

PROMPT can be made up of normal characters and the following special codes:

$A

 

& (Ampersand)

$B

  | (pipe)

$C

 

( (Left parenthesis)

$D

 

Current date

$E

 

Escape code (ASCII code 27)

$F

  ) (Right parenthesis)

$G

  > (greater-than sign)

$H

  Backspace (erases previous character)

$L

  < (less-than sign)

$N

  Current drive

$P

  Current drive and path

$Q

  = (equal sign)

$S

  (space)

$T

  Current time

$V

  Windows NT2000XP version number

$_

  Carriage return and linefeed

$$

  $ (dollar sign)

If Command Extensions are enabled the PROMPT command supports the following additional formatting characters:

$+

  zero or more plus sign (+) characters depending upon the depth of the PUSHD directory stack, one character for each level pushed.

$M

  Displays the remote name associated with the current drive letter or the empty string if current drive is not a network drive.

GuardNotes

Things that are different (by design, by accident or otherwise)

None documented (yet).


Common
Command Set
INTERNAL

  ASSOC | BREAK | CALL | CD | CHDIR | CLS | COLOR | COPY | DATE | DEL | DIR | ECHO | ENDLOCAL | ERASE | EXIT | FOR | FTYPE | GOTO | IF | MD | MEM | MKDIR | MOVE | PATH | PAUSE | POPD | PROMPT | PUSHD | RD | REM | REN | RENAME | RMDIR | SET | SETLOCAL | SHIFT | START | TIME | TITLE | TYPE | VER | VERIFY | VOL
/\
//\\
//
The\
/Sy
stem\
////
Guard
\
COME ON UP WITH US!
and
Congratulations On Your Decision
to
RISE ABOVE
THE REST!

^
/
!\
/LIB\

TheSystemGuard.com [Revised: 2007-03-29]
Copyright © 1995-2007, JWC
Computer Communications,
All Rights Reserved, Worldwide.
 Disclaimer       Privacy       About Us       More


Communication Is Business!

We Master It With Knowledge!

^
/
.\
/M^C\