What can the command PROMPT?


 
ColorConsole [Version 1.3.3000]
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\WINDOWS>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:\WINDOWS>HELP PUSHD
Stores the current directory for use by the POPD command, then
changes to the specified directory.

PUSHD [path | ..]

 path        Specifies the directory to make the current directory.

If Command Extensions are enabled the PUSHD command accepts
network paths in addition to the normal drive letter and path.
If a network path is specified, PUSHD will create a temporary
drive letter that points to that specified network resource and
then change the current drive and directory, using the newly
defined drive letter.  Temporary drive letters are allocated from
Z: on down, using the first unused drive letter found.



C:\WINDOWS>HELP RD
Removes (deletes) a directory.

RMDIR [/S] [/Q] [drive:]path
RD [/S] [/Q] [drive:]path

   /S      Removes all directories and files in the specified directory
           in addition to the directory itself.  Used to remove a directory
           tree.

   /Q      Quiet mode, do not ask if ok to remove a directory tree with /S












Windows-10





Windows-10

... facebook.de
... Windows-10 FAQ
... Windows-10 Info


Become a Sponsor
... Your button here?





The command PROMPT - Changes the Windows command prompt.

HTTP: ... console/en/049.htm
0.093
9694

Many variables in quick text paste don't work!

 /

Create Windows 8 / 8.1 desktop shortcut for Program-Files and Program-Files(x86)!

 /

How can i change the preview filter settings for Q-Explorer List Views?

 /

Enable or turn off secure logon in Windows 10 with Ctrl + Alt + Del!

 /

Driver Update via the Windows 10 Device Manager!

 /

NewFileTime Video!

 /

Arbeitsspeicher erweitert am Samsung Galaxy aufrüsten (Android)?

 /

The correct size of the paging file in Windows 10?

 /

Status: Is downloaded - 100 percent and Windows 10 hangs?

 /

Can I switch the Windows 8 or Win 8.1 Control Panel, to classic?

 /

What is an SSD hard drive and SSHD?

 /

Always confirm directory in Windows 10 Internet-Explorer before download file, can I?

 /