How to Use Command Prompt?

Affiliate disclosure: In full transparency – some of the links on our website are affiliate links, if you use them to make a purchase we will earn a commission at no additional cost for you (none whatsoever!).

A command prompt is such a powerful system application in Windows that it can help you become a power user. So, if you want to know how to use the command prompt, then you are in the right place.

In this article, we will tell you about command prompt commands and how to use the Windows command line? There are a lot of things you can do in Command Prompt. Here are Use Command Prompt tricks.
So, let’s get started:


What is command prompt?

This section will put an end to your query on what is a command prompt?

A command prompt serves as an entry point for typing MS-DOS and other commands associated with a computer system. It can help you perform tasks without using the GUI provided by windows.

To be more precise, if you wish to become a power user of windows then learning more about the command prompt will certainly help you achieve that level.

How to use command prompt?


Step #1: Open the command prompt.

In this step, we will show you how to open a command prompt in the Windows operating system. Well, this is not a cumbersome task, and once you go through the whole step, you will feel that it’s a piece of cake for you.

To open command prompt in Windows 7, consider following the enlisted steps:

*. Go to the start button and click on it.

*. Type “cmd” or “Command Prompt” without quotes at the field where “Search Programs and files” are written. Doing this, you will get an option as below.

You are required to click on it, and this will open the command prompt for you.

In some cases, you might need administrative privileges. So, in that case, you will have to click right on “cmd.exe” or “Command Prompt”. From the list menu which appears, you have to select “Run as administrator” and this will do the needful for you.

Alternatively, you can also go this way. All that you need to do is to make use of this shortcut “Windows + r”. This will take you to the run section where you need to type “cmd” without quotes. After this, you need to hit enter.
Following any of the two methods, you can easily get access to the command prompt in Windows 7.

To open a command prompt in Windows 10, you will have to follow the following steps:

Multiple ways are using which you can get access to the command prompt in Windows 10. For ease of comprehension, we will be listing one or two here:

Method 1: By searching.

Navigate to the search bar of your windows and type cmd. Select the appropriate option and this way you can easily get access to the command prompt.

Method 2: Using File Explorer.

At first, you require launching a file explorer. Once you have done the same then, you need to navigate to the following location: C:\Windows\System32. There you will see a file named “cmd.exe.” This is exactly what we require which means that you need to click on it.

Method 3: Using Run.

This is one of the easiest methods of all. All that you require is to press Win + R, and this will take you to the run dialog box. Now, you have to type “cmd” without quotes in the respective field and hit enter. This will help you access the command prompt in Windows 10.

Step #2: Playing with commands.

Command prompt is a very powerful system application. If you can have a command over this, then you can be a power user of your system. In this step, we will be showing you what you can do with the command prompt? So, let’s get started:

1) Opening any system application.

Did you know that you can open any system application using the command prompt? If not then we will show you how you can do this.

Since we have told you how to open a command prompt in the previous step, so we won’t be going over there. So, say if you wish to open notepad using command prompt then all that you require doing is to type “notepad.exe” without quotes at the command prompt and hit enter. Within no time, this will open the command prompt for you.

2) IP address.


Let us suppose that you wish to know the IP address. You can find it very easily using a cmd command as “ipconfig”. All that you require doing is to type this at the command prompt terminal and hit enter. Within seconds, you will have your IP address in front of your screen.

3) Changing color of the command prompt terminal.


This is a cool yet a basic command using which you can change the background and the text color of the command prompt terminal.

For this, you require typing “color help” at your cmd terminal and hit enter. This will display color name along with their associated codes that are command prompt codes. Like if you type the following command COLOR 8A, then this will change the terminal text to green and the background to light gray. Cool, isn’t it?

4) Using Powercfg.

It is one of the most powerful commands in command prompt. Using this, you can track down the status of energy consumption by your system. Let us suppose if you wish to see all the power saving states of your system then you are to type the following command: powercfg /a. This will list all the states available on your system.

5) Shutdown.

If you wish to shut down your system using command prompt then, you should consider using the following command “shutdown /s /t 0” without quotes. Additionally, if you need to restart your system using command prompt then consider using the mentioned command as “shutdown /r /t 0” without quotes obviously.

6) Tasklist.

If you wish to see all the tasks currently running on your system, then you should consider using this command “tasklist” without quotes. This will list all the tasks which are running currently on your device.

So, this was all about how to use command prompt? We hope that you will now feel that using commands for command prompt is a piece of cake. You can also Restart/Shutdown a Remote Computer using Command Prompt. Along with that, if there is any conflict in your IP, you can fix the IP Conflict using Command Prompt.

Do not forget to share it with your peers. Stay tuned and keep visiting!

arun singh

Arun Singh is a experienced server management geek and he has more than 8 years of experienced handling hosting server and he do sometimes share his knowledge in digital marketing. He currently with private company in Mumbai, India and he handles server management at

Leave a Comment