Windows 10 Command Prompt: What is it and how does it work?

We look at one of the most powerful features in Windows 10 - the command prompt

Command Prompt is one of the most basic of the myriad advanced features in Windows 10 and all the versions of the operating system before it but in some cases, also one of the most powerful.

Hidden away due to the technical know-how needed to operate the program which intimidates a lot of users, the command prompt program allows users to perform some interesting actions on the machine, such as creating bespoke shortcuts that can be pinned to the taskbar such as shutting down the computer with one click.

Windows 10 command prompt can carry out more advanced actions that aren't necessarily available using the graphical user interface (GUI) of Windows 10.

And although Microsoft has certainly made the rest of Windows 10 prettier and easier to use, with an enhanced UI and the addition of natural language processing (NLP), the Command Prompt has been left out of the revamp, just as rough and ready as it always has been.

Advertisement
Advertisement - Article continues below

It supports a whole host of shortcuts, in most cases making it much quicker to use than to navigate through the menus and core of Windows 10.

Want to explore the real power of Windows Command Prompt? Read on to find out how it can quite possibly, change your experience of Windows 10.

What is the Command Prompt?

The Command Prompt will never win awards for its looks, that's not the point of it; the white text on a black background isn't that enticing. But it is instantly recognisable to even the most neophyte of Windows users. At this point, you may feel reluctant to type in a command for fear of ruining your computer, but will a little training, you can come to love this tool

The Command Prompt can be used to type out commands and execute them, which can be particularly useful for automating tasks via scripts and batch files, as well as carrying out advanced administrative functions and fixing many problems in Windows.

How do I open the Command Prompt?

There are many different ways to open the program, the simplest of which involves simply typing 'command prompt' or 'cmd' into the Windows 10 search bar and it will be the top result. If you like your keyboard shortcuts, Windows+X will open the Power Users menu from which Command Prompt can be launched with one click.

If you want to make serious changes to your system using command prompt, you'll most likely have to run as administrator. This can be done in either of the previous two methods by either right-clicking the icon in search or by selecting the admin option from the Power Users menu.

It can also be done through Task Manager: simply open it up, open the 'File' menu and CTRL+click 'Run New Task' to immediately launch command prompt as administrator.

How does the command prompt work and why would you use it?

The Command Prompt works at a more basic level than Windows, this is not to say it isn't powerful, far from it. It means you gain more control over the PC and communicate with it in a more direct way. Aside from common commands (dir, cd, copy, del), it can be used to access parts of the operating system that is not available to the graphical user interface.

It can be used to perform a variety of functions, sometimes using it is quicker or even the only way to access certain information or functions.

In addition to the commands mentioned above (which show file directory listings, changes file directories, copies files, and delete them.) There are a number of other useful commands such as ipconfig (which shows what IP address a computer has), Tracert (which shows information on each step between the computer and a target host elsewhere on the internet such as a website), and the system file checker (sfc), which finds any corrupt or missing files, and automatically replaces them using cached copies kept by Windows.

What about Windows Powershell?

The Command Prompt has been around forever, but with Windows 10, Microsoft is trying to make PowerShell the main command shell in the operating system. This offers a very rich set of commands (called cmdlets) that are more integrated with Windows and most Microsoft products. These cmdlets are functions that exist inside compiled DLLs on a system. Its primary purpose is to not only replace the Command Prompt but also batch files and VB scripts.

Featured Resources

The IT Pro guide to Windows 10 migration

Everything you need to know for a successful transition

Download now

Managing security risk and compliance in a challenging landscape

How key technology partners grow with your organisation

Download now

Software-defined storage for dummies

Control storage costs, eliminate storage bottlenecks and solve storage management challenges

Download now

6 best practices for escaping ransomware

A complete guide to tackling ransomware attacks

Download now
Advertisement

Recommended

Visit/operating-systems/25802/17-windows-10-problems-and-how-to-fix-them
operating systems

17 Windows 10 problems - and how to fix them

4 Nov 2019
Visit/operating-systems/25802/17-windows-10-problems-and-how-to-fix-them/page/0/1
operating systems

17 Windows 10 problems - and how to fix them

4 Nov 2019
Visit/hardware/34716/device-as-a-service-daas-the-future-of-business-hardware
Sponsored

Device as a service (DaaS): The future of business hardware

31 Oct 2019
Visit/software/34678/making-the-most-of-windows-10
Sponsored

Making the most of Windows 10

23 Oct 2019

Most Popular

Visit/security/identity-and-access-management-iam/354289/44-million-microsoft-customers-found-using
identity and access management (IAM)

44 million Microsoft customers found using compromised passwords

6 Dec 2019
Visit/cloud/microsoft-azure/354230/microsoft-not-amazon-is-going-to-win-the-cloud-wars
Microsoft Azure

Microsoft, not Amazon, is going to win the cloud wars

30 Nov 2019
Visit/hardware/354237/five-signs-that-its-time-to-retire-it-kit
Sponsored

Five signs that it’s time to retire IT kit

29 Nov 2019
Visit/business/business-strategy/354195/where-modernisation-and-sustainability-meet-a-tale-of-two
Sponsored

Where modernisation and sustainability meet: A tale of two benefits

25 Nov 2019