In the beginning, was the prompt
“Know, oh apprentice, that between the years when the punch cards were fed into computation behemoths, and the Deep State placed a jester and a spy in your hand, there was an age half-remembered, when the CRT monitors hummed tended by the priesthoods of Fortran, Cobol and BASIC; a time when the terminal waited for your command like a sphinx, silent and unforgiving of lazy syntax and stumbling fingers, and wrong queries. Hither came you, dear apprentice — unproven, key-hand uncertain, no thief, no reaver, but a beginner all the same — to press your fingers to its keys at last, and learn the words it has been waiting, patiently, this whole time, for someone to ask it to understand.”
Do not be afraid apprentice. The command line shall reward your diligence with efficiency, your hard earned knowledge with
Where to begin
Type cmd in the search bar. Click the result titled, “Command Prompt.” The black box should appear.
To temporarily modify the prompt layout in your current session:
prompt $t $p$g
Common special codes include:
$P: Current drive and path$G:>symbol$N: Current drive letter$T: Current system time$D: Current system date$+: Displays plus signs (+) corresponding to the depth of thePUSHDdirectory stack
How to Use This Book
Every entry has the same five parts: command name, plain description, code example(s), flags, and a practice line.
- Command Name
- Description
- Code Example(s)
- Flags
- Practice reminder - Memorize!
The memorization method: Read the entry once. Cover the practice line. Open a real terminal and type the command from memory. Check yourself against the line. If you missed it, try once more. Then move on.
★ marks a multi-verb power tool — an interactive or multi-context command whose common sub-verbs are summarized inside its one entry, rather than split into separate entries.
⚠ marks a command or flag that is destructive or irreversible. Practice lines for these are written to be safe to actually run.
Scope: commands that ship by default on a current, ordinary Windows 10/11 installation. Server-only, Active Directory-only, and legacy hardware-support commands are excluded.
Help
Type help at the command line and you will receive a list of commands available to you. For specific commands type the command followed by a forward-slash and a question mark, OR the word help and it will give a mini manual about how to use the command and any flags you can use.
C:\Users\ulric>cd /?
C:\Users\ulric>cd /help