Command Line
Command Prompt Basics
Learn how to open Command Prompt, navigate folders, and get command help.
Follow the steps in order and stop if the screen or target does not match what is described. Use administrator access only when the task requires it.
Open a normal window
Open Start, type Command Prompt, and select it. Use administrator mode only when a task specifically requires it.
See the current folder
Run cd with no arguments.
Command
cdList files
Run dir.
Command
dirChange folder
Use cd followed by a quoted path.
Command
cd "C:\Users\Public"Read help
Append /? to a built-in command before using unfamiliar options.
Command
ipconfig /?Avoid copied destructive commands
Understand a command and confirm its target before running delete, format, permission, registry, or boot commands.