How to view all command line commands: 5 steps

Table of contents:

How to view all command line commands: 5 steps
How to view all command line commands: 5 steps
Anonim

Forgot some command line? You can quickly list all available commands and find the one you want. Similarly, you can view the prompt for a specific command. Read on to find out how.

Steps

Method 1 of 2: Displaying All Available Commands

Find All Commands of CMD in Your Computer Step 1
Find All Commands of CMD in Your Computer Step 1

Step 1. Run Command Prompt

This can be done by pressing the Windows key + R, which will launch the "Run" window, and in this window type "cmd" (without quotes). Windows 8 users can press Windows Key + X and choose Command Prompt from the menu.

Find All Commands of CMD in Your Computer Step 2
Find All Commands of CMD in Your Computer Step 2

Step 2. Display the list of commands

At the command prompt, type "help" (without quotes) and press Enter. A list of all available commands will be displayed. The commands are sorted alphabetically.

  • The list of commands is usually larger than the command line window, so you may have to scroll through it to find the command you want.
  • The list of commands may differ slightly depending on the version of Windows, as commands are added and removed from time to time.
  • A short description will be displayed next to each command.
  • The "help" command can be typed from anywhere on the command line.

Method 2 of 2: Get a prompt for a specific command

Find All Commands of CMD in Your Computer Step 3
Find All Commands of CMD in Your Computer Step 3

Step 1. Run Command Prompt

This can be done by pressing the Windows + R keys, which will launch the "Run" window, and in this window type "cmd" (without quotes). Windows 8 users can press Windows Key + X and choose Command Prompt from the menu.

Find All Commands of CMD in Your Computer Step 4
Find All Commands of CMD in Your Computer Step 4

Step 2. Type "help" (without quotes) and immediately the command you need

For example, for the command "mkdir" it would look like this: type "help mkdir" (without the quotes) and then press Enter. Help information about the command will be displayed below.

Find All Commands of CMD in Your Computer Step 5
Find All Commands of CMD in Your Computer Step 5

Step 3. Review the information you need

The amount of information depends on the team and its complexity. Help information can tell you the correct command format, or how to extend the functionality of a particular command.

Popular by topic