• Linkedin
  • Reddit

Summary :

Command Prompt Windows 10

Do you know what Command Prompt Windows 10 is? Do you know how to open Command Prompt as administrator? Do you know how many Windows 10 Command Prompt commands? This post will explain these questions for you.

Quick Navigation :

What Is Command Prompt

It is common that many users have little understanding of Command Prompt. One reason may go that this function isn’t put outside Windows interface so that users ignore it and haven’t discovered its usefulness yet.

Under this circumstance, knowing Command Prompt Windows 10  becomes necessary.

Command Prompt, also known as CMD, is the command-line interpreter in Windows operating system. You can input commands to your computer so as to tell your computer to take corresponding actions.

Commands vary in different operating systems. Command Line Program of Windows is shown as cmd.exe.

9 Ways to Open Command Prompt Windows 10

Before introducing the detailed Windows 10 Command Prompt commands, users have to know how to open it in Windows.

Generally speaking, two choices are available before running Command Prompt Windows 10: Command Prompt, Command Prompt (Admin).

The author in this part will cover 9 methods to open Command Prompt and you can choose whatever you prefer.

Open Command Prompt Windows 10 from Run Box

Option A: Press Windows + R simultaneously to open Run box. Then type down cmd and click OK to open it.

Option B: After opening Run box, type down cmd and press Ctrl + Shift + Enter to run Command Prompt as administrator.

open Command Prompt from Run box

Open Command Prompt Windows 10 from the Start Menu Search

Option A: Click the start menu and type cmd in the search box. Click Command Prompt to run it.

Option B: After Command Prompt appears, you can right-click it to run as administrator.

open cmd from start menu search box and run as administrator

Open Command Prompt Windows 10 by Scrolling the Start Menu

  1. You can scroll the mouse to search for Command Prompt under the Windows System.
  2. Click it to run regularly or right-click it to choose as an administrator.

run Command Prompt by scrolling the start menu

Open Command Prompt Windows 10 from Task Manager

  1.  Type task manager in the search box to open Task Manager.
  2. Open Files tab and click Run new task and click OK to run Command Prompt regularly or check Create this task with administrative privileges to run as an administrator.

run as administrator from task manager

Open Command Prompt Windows 10 from File Explorer

  1. Open File Explore and navigate to C: drive > Windows > system32 > cmd.
  2. Right-click cmd to select Run as administrator.

run as administrator from File Explorer

Open Command Prompt Windows 10 from File Explorer Address Bar

  1. Open File Explorer.
  2. Type cmd in its address bar and press Enter to run it as administrator.

type down cmd in file explorer address bar

Open Command Prompt Windows 10 from Win-X Menu

  1. Press Windows + X keys simultaneously to open Power User Menu.
  2. Click Command Prompt to run it regularly or click Command Prompt (Admin) to run it as administrator.

run regularly or run as administrator

Open Command Prompt by Creating Command Prompt Shortcut

  1. Right-click the desktop to select New and create a shortcut.
  2. Type down cmd in the location of the item and name the shortcut as cmd.
  3. Double-click the shortcut or right-click the shortcut to run it as administrator.

create a shortcut to run Command Prompt

Open Command Prompt by Using Microsoft Edge

  1. Open Microsoft Edge.
  2. Type file://C:/Windows/System32/cmd.exe in its address bar and click Enter.
  3. Click Run to open Command Prompt.

run Command Prompt from Microsoft Edge

Ten Practical Commands Windows 10 You Must Know

It is not difficult to find a complete computer commands list but it is not easy to master them all. Do you know how to use Command Prompt?

Based on actual situations, the following parts will list ten common commands. These are the most helpful commands and a good mastery of them helps you better control over your Windows PCs.

Tip: It is recommended to run Command Prompt as an administrator to get more privileges and you should press Enter after typing down each command.

1.Assoc

Assoc plays an important role in Command Prompt Windows 10.

Lots of files are associated with a specific program and this program can open the file by default. However, it is sometimes hard to remember those associations. Therefore, if you type “assoc” on Command Prompt Windows 10, Command Prompt will list all filename extensions and program associations for you.

use assoc command to list full file name and program associations

2. Chkdsk

Chkdsk command is mainly used to scan an entire disk. In this way, you can find whether there happens file fragmentation, disk errors or bad sectors on your disk. Apart from scanning, “chkdsk” command can repair your disk as well.

When you launch Command Prompt as an administrator in Windows, type down “chkdsk c:/f /r” (c refers to the letter of the drive you want to scan). This command will scan and repair your C drive during the time your computer restarts.

Tip: This command works only when you run Command Prompt as an administrator, or it will inform you that access is denied as you do not have sufficient privileges.

use chkdsk to scan and repair c: drive

chkdsk windows 10 thumbnail
How Do I Repair Hard Drive Error with Windows 10 CHKDSK Utility?

Windows built-in disk repair tool CHKDSK can check and fix hard drive errors it detected. Check this post to see how to use it to repair hard drive Windows 10.

Read More

3. Cipher

Many users believe once they delete the files and empty the recycle bin, these files and data can never be found. However, it is not the case.

Although once you delete files, the space they occupy will be marked as free. They are still recoverable unless new data has been overwritten on it. Other people can use third-party data recovery software such as MiniTool Partition Wizard to get them back, which is not good for privacy.

Buy Now

So, what can you do to clean these data deleted once and for all? Cipher command is a good choice. It is originally used to encrypt files with EFS (Encrypting File System). However, it has another additional function – wipe free space of a hard disk so as to safely erase the deleted files of the free space.

After running Command Prompt, please type down “cipher”.

use cipher to completely delete files

4. Diskpart

Diskpart command is specially designed to manage your partitions. It covers multiple operations about partitions such as creating, deleting, formatting and extending. To some extent, it is as powerful as some third-party partition managing software.

It even surpasses third-party software in some aspects. For example, it can manage dynamic disks and you don’t need to restart computer during this process. It even can convert basic disk to dynamic disk and dynamic disk to basic disk as well.

use diskpart command to manage partitions

Common diskpart commands are presented as follows.

  1. List disk/volume: You can generally get the list of disks on your computer.
  2. List partition: You can get the list of partitions on the selected disk.
  3. Select disk/partition/volume: You can locate the disk/partition/volume you want.
  4. Detail disk/partition/volume: You can get the detailed information of selected disk/partition/volume.
  5. Delete disk/partition/volume: You can delete selected disk/partition/volume.
  6. Create partition primary/logical size = n: You can create a primary or logical partition on a disk and regulate its storage capacity in MB.
  7. Create volume stripe: You can create stripe volumes on a selected disk.
  8. Convert basic/dynamic: You can convert dynamic disk to basic disk or basic disk to dynamic disk.
  9. Convert MBR/GPT: You can convert GPT to MBR or MBR to GPT.
  10. Assign: You can assign a drive letter to the selected partition.
  11. Clean/clean all: The former command deletes files and these files can be recovered; the latter command deletes files and files can hardly be recovered.
  12. Format: You can format a partition and appoint file system to the partition.
  13. Active: You can set a partition as active.

But some third-party software has more powerful functions. For example, when suffering sudden system crash, apart from Command Prompt, you can also resort to a piece of professional partition manager – MiniTool Partition Wizard. Both its Copy Disk function and Migrate OS to SSD/HD function allow you to copy operating system to another disk. Once Windows fails to boot, you can insert the target disk and set it as the first boot disk to start your Windows.

MiniTool Partition Wizard also helps users manage partitions and disks. You can also recover lost/deleted files and clone entire disk and so on.

Apart from those above, it allows users to boot computer from bootable media created before when Windows fails to boot.

Free Download

5. File Compare

FC stands for File Compare. If you have two files with slight differences, this command can list all their differences for you.

FC command can compare text files as well as binary files and compare ASCII or Unicode text. Examples are listed as follows.

Fc /a File1.txt File2.txt will make a comparison between two ASCII files.

Fc /b Picture1.jpg Picture2.jpg will make a binary compare on two images.

use fc command to compare two files

6. Ipconfig

Sometimes your computer may meet network problems and do not know how to fix it. Command Prompt commands IP may be a useful tool.

Type “ipconfig” in Command Prompt Windows and you will get detailed information on current IP Address Subnet, Mask Default Gateway IP and current domain. This information can help you solve router issues and network connection problems.

use ipconfig command to check network issues

7. Netstat

Netstat stands for network statistics. You are bound to suspect that some virus or malware connected to internet threat your computer. If you want to further check this problem, please type “netstat” on Command Prompt to see all active TCP connections.

use netstat command to see TCP connections

8. SFC

SFC stands for System File Checker. When you concern that virus or illegal software may threat your core file system, sfc /scannow command Windows 10 will scan these files and check their integrity.

use sfc /scannow command to scan system files

Tip: Remember to launch Command Prompt as an administrator.

Sfc /scannow will check the integrity of all protected system files and do repairs if system files have corrupted.

sfc scannow not working thumbnail
Quickly Fix – SFC Scannow Not Working (Focus on 2 Cases)

How to fix the issue SFC scannow not working? Here, this article focuses on two cases of SFC error. Try to use the following methods.

Read More

9. Shutdown

Shutdown command is different from the regular shutdown on start menu. You can set detailed parameters for your shutdown through the command.

Type down “shutdown /i” on Command Prompt and a remote shutdown dialog will pop up. You can manage the shutdown of remote computers, choose restart or shutdown and even select an option to describe why you want to shut down these computers.

use shutdown command to turn off computer

10. Systeminfo

How much do you know about your computer system? If you want to further know about it, you can use “systeminfo” command. This command will list plenty of information on your computer system, including its OS version, OS configuration, processor(s), BIOS version, boot device, network card(s) and so on.

use systeminfo command to know more about your computer system
 

Command Prompt Windows 10 allows you to discover more functions offered by your Windows. Mastering them helps you better make use of your computer and facilitate work and life.Click to tweet

Conclusion

If you make yourself know more about Command Prompt Windows 10 and master the nine common commands above, you are bound to manage your computer issues better. And this post also has shown how to open run Command as administrator. You can try these methods.

If you have any question with MiniTool products, please contact us via [email protected] and we will reply to you as soon as possible.

Command Prompt Windows 10 FAQ

???? What are the commands in the Command Prompt?
There are various commands that can be done in the Command Prompt. In the Commnad Prompt, you can execute the comamnds to manage your disk, check file system, rebuild MBR and so on.
????How do I use Command Prompt?
The Command Prompt allows you to run programs, manupulate Windows settings, and access fils by typing in commands that you wish to execute. To use the Command Prompt, you can read the above content to learn how to open it in many different ways.
???? What is Windows Command Prompt?
Command Prompt is a command line interpreter application availabe in most Windows opearting system. It is used to execute entered commands.
???? What does CMD standard for?
CMD is the abbrevation for command. It is a Microsoft Windows command that opens the Windows command line window. Windows 95 and 98 users can only enter the command line by entering command, while all other users can enter by using either command or cmd.
  • Linkedin
  • Reddit

User Comments :