Visual representation of the Windows CMD Commands Cheat Sheet.

200+ Windows CMD Commands You Need to Explore


Unleash the power of CMD commands with our comprehensive Windows Command Prompt cheat sheet. This invaluable resource provides an extensive collection of CMD commands that are essential for various tasks, including batch scripting.

Moreover, discover the true potential of the Windows command line as you navigate through this cheat sheet. From file management to system configuration, each CMD command opens up new possibilities for enhancing your productivity.

Whether you’re a novice or an experienced user, this guide will empower you to harness the full potential of the CMD Command and accomplish tasks with efficiency and precision. Get ready to revolutionize your Windows command line experience with our CMD Command cheat sheet, and embark on a journey towards mastering the art of CMD commands.

Table of Contents

Windows Run Command List

“` Windows Command Prompt CMD Commands “`

The Windows Command Prompt, also known as CMD, is a powerful tool that allows users to execute various commands in the Windows operating system. Additionally, these commands provide users with a wide range of functions and capabilities to interact with their computer system.

CMD commands enable users to perform tasks such as navigating through directories, managing files and folders, running programs, and configuring system settings. Moreover, with the use of these commands, users can efficiently control and manipulate their Windows environment.

The Windows Command Prompt provides an array of capabilities, empowering users to perform tasks efficiently and effectively.

Hack Reveal

1. Command Line Basics

In this section, we will cover the fundamental concepts and commands that form the building blocks of the Windows command line.

1.1 Command Line Interface (CLI)

The Command Line Interface (CLI) is a text-based interface that allows users to interact with the operating system by typing commands. Additionally, in Windows, the CLI is accessed through the Command Prompt or PowerShell.

1.2 How to Open CMD Command

To access the Command Prompt on different versions of Windows, follow these steps:

For Windows 10 or newer, navigate to the bottom left corner of your screen and click on the Start button. Subsequently, in the search bar, type “cmd” and select the Command Prompt from the list of results.

If you’re using Windows 8.x or an earlier version, you can press the Ctrl+R keys together to open the Run dialog box. Subsequently, type “cmd” into the dialog box and hit Enter to launch the Command Prompt.

windows command prompt for cmd commands - hack reveal

1.3 Essential Commands

1.3.1 cd – Change Directory

The cd command is utilized to navigate between directories, enabling you to switch the current working directory to a designated folder. For instance, to move to the “Documents” folder, execute the following command:

cd Documents

1.3.2 dir – List Files and Directories

The dir command exhibits a comprehensive list of files and directories within the current directory. It offers essential information including file names, sizes, and timestamps. To view the contents of a directory, simply type dir.


1.4 Keyboard Shortcuts

Windows command line offers several keyboard shortcuts that can significantly enhance your productivity. Here are a few commonly used shortcuts:

  • Ctrl+C: Abort the currently running command.
  • Ctrl+V: Paste text from the clipboard.
  • Tab: Auto-complete commands and file/folder names.
  • Up Arrow / Down Arrow: Cycle through previously entered commands.

2. File and Directory Operations

In this section, we will explore various commands for managing files and directories in the Windows command line.

2.1 Creating and Deleting Files and Directories

2.1.1 mkdir – Create Directory

The mkdir command allows you to create a new directory. Specify the name of the directory as an argument. For example, to create a directory named “NewFolder,” use the following command:

mkdir NewFolder

2.1.2 del – Delete File

The del command is used to delete files. Provide the name of the file(s) or file pattern as an argument. For example, to delete a file named “example.txt,” use the following command:

del example.txt

2.2 Copying and Moving Files

2.2.1 copy – Copy File

The copy command allows you to create a copy of a file. Specify the source file and the destination as arguments. For example, to copy “file.txt” to the “Documents” folder, use the following command:

copy file.txt Documents\

2.2.2 move – Move File

The move command is used to move files from one location to another. Provide the source file and the destination as arguments. For example, to move “file.txt” to the “Documents” folder, use the following command:

move file.txt Documents\

3. System Information and Management

Understanding the system information and managing various aspects of the Windows operating system is essential. In this section, we will explore commands that provide insights into the system and enable you to manage it effectively.

3.1 System Information

3.1.1 systeminfo – Display System Information

The systeminfo command displays detailed information about the Windows operating system, including the version, build number, installed updates, and hardware specifications. To retrieve system information, use the following command:


3.2 User and Account Management

3.2.1 net user – Manage User Accounts

The net user command allows you to manage user accounts on the local system. It enables you to create new accounts, modify existing accounts, and reset passwords. To create a new user account, use the following command:

net user username password /add

Replace “username” with the desired username and “password” with the desired password.

4. Network Configuration and Troubleshooting

Networking plays a vital role in modern computing environments. In this section, we will cover commands that assist in configuring and troubleshooting network-related settings.

4.1 IP Configuration

4.1.1 ipconfig – Display IP Configuration

The ipconfig command provides information about the IP configuration of the network interfaces on your system. It displays details such as the IP address, subnet mask, default gateway, and DNS servers. To retrieve IP configuration information, use the following command:


4.1.2 ping – Test Network Connection

The ping command allows you to test the network connectivity to a specific IP address or domain name. It sends ICMP echo requests to the target and displays the round-trip time and packet loss. To ping a website, use the following command:


5. Process Management

Controlling and managing processes running on your system is crucial for optimizing performance. In this section, we will explore commands that enable you to monitor and control processes in the Windows command line.

5.1 Task Manager

5.1.1 tasklist – Display Running Processes

The tasklist command lists all the running processes on your system, along with their process IDs (PIDs) and other details such as memory usage and CPU time. To view the running processes, use the following command:


5.2 Process Termination

5.2.1 taskkill – Terminate a Process

The taskkill command allows you to terminate a running process forcefully. You can specify the process name or PID as an argument. For example, to terminate a process with PID 1234, use the following command:

taskkill /PID 1234

6. Task Scheduling

Automating tasks can greatly enhance your productivity and save time. The Windows command line provides commands to schedule tasks for execution at specified times or events.

6.1 schtasks – Schedule Tasks

The schtasks command allows you to create, modify, or delete scheduled tasks on your system. It provides various options to customize the task execution, such as the start time, repetition, and action to perform. To schedule a task, use the following command:

schtasks /create /tn TaskName /tr TaskCommand /sc ScheduleType /st StartTime

Replace “TaskName” with the desired name for the task, “TaskCommand” with the command or script to execute, “ScheduleType” with the desired schedule type (e.g., DAILY, WEEKLY), and “StartTime” with the desired start time.

7. Security and Permissions

Securing your system and managing permissions are vital for maintaining data integrity and preventing unauthorized access. In this section, we will cover commands related to security and permissions in the Windows command line.

7.1 icacls – Manage File and Folder Permissions

The icacls command allows you to view and modify permissions of files and folders. It provides granular control over access rights, ownership, and auditing. To view the permissions of a file or folder, use the following command:

icacls path_to_file_or_folder

Replace “path_to_file_or_folder” with the actual path.

8. Advanced Techniques

In this section, we will explore advanced techniques and commands that can further enhance your productivity and efficiency when working with the Windows command line.

8.1 Command Redirection

8.1.1 > – Output Redirection

The > symbol allows you to redirect the output of a command to a file. For example, to save the output of a command to a text file, use the following command:

command > output.txt

8.2 Batch Scripting

Batch scripting allows you to automate a series of commands by creating scripts. These scripts can be executed with a single command, saving time and effort.

8.2.1 Creating a Batch Script

To create a batch script, open a text editor and write the desired commands sequentially. Save the file with a .bat extension. For example, create a file named myscript.bat and add the following content:

@echo off
echo Hello, World!

9. Tips and Tricks

In this section, we will provide some useful tips and tricks to help you become even more proficient in using the Windows command line.

  • Use the help command to get information about a specific command and its usage.
  • Press F7 to view command history and easily recall previous commands.
  • Take advantage of wildcards (* and ?) to perform operations on multiple files or folders simultaneously.


Congratulations! You have reached the end of our comprehensive Windows Command Line Cheat Sheet. We hope this resource has equipped you with the necessary knowledge and skills to navigate and utilize the Windows CMD Commands effectively. Remember to practice regularly and explore further to become a command line master. Happy command lining!

Now, armed with this knowledge, you are ready to conquer the Windows command line like never before. Remember, practice makes perfect, so keep honing your skills and exploring new possibilities. Happy commanding!

Article Reference

Microsoft Windows Command

1 Comment

  1. Prahar

    Awesome collection

Leave a Reply