TO use a short path of windows command prompt

TO use  a short path of windows command prompt

you like command windows?

sometimes you will change your work directories frequently,

so it often come out with a great long path before the prompt,

like : C:\Documents and Settings\Administrator>

and you want the long path "C:\Documents and Settings\Administrator>" to be hidden?

just want >cmd on the command window?

so just type :

prompt $G

then "C:\Documents and Settings\Administrator>"  will disappear and only a '>' left.

is that cool?

appendix:

the prompt usage on windows:

C:\Documents and Settings\Administrator>help prompt
Changes the cmd.exe command prompt.

PROMPT [text]

  text    Specifies a new command prompt.

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 XP 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.

C:\Documents and Settings\Administrator>prompt $G

>help
For more information on a specific command, type HELP command-name