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
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.

Advertisement - Article continues below

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.

Related Resource

The IT Pro guide to Windows 10 migration

Everything you need to know for a successful transition

Download now

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

Digitally perfecting the supply chain

How new technologies are being leveraged to transform the manufacturing supply chain

Download now

Three keys to maximise application migration and modernisation success

Harness the benefits that modernised applications can offer

Download now

Your enterprise cloud solutions guide

Infrastructure designed to meet your company's IT needs for next-generation cloud applications

Download now

The 3 approaches of Breach and Attack Simulation technologies

A guide to the nuances of BAS, helping you stay one step ahead of cyber criminals

Download now
Advertisement

Recommended

Visit/hardware/354584/windows-10-and-the-tools-for-agile-working
Sponsored

Windows 10 and the tools for agile working

20 Jan 2020
Visit/microsoft-windows/32066/what-to-do-if-youre-still-running-windows-7
Microsoft Windows

What to do if you're still running Windows 7

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

17 Windows 10 problems - and how to fix them

13 Jan 2020
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

Most Popular

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

17 Windows 10 problems - and how to fix them

13 Jan 2020
Visit/microsoft-windows/32066/what-to-do-if-youre-still-running-windows-7
Microsoft Windows

What to do if you're still running Windows 7

14 Jan 2020
Visit/web-browser/30394/what-is-http-error-503-and-how-do-you-fix-it
web browser

What is HTTP error 503 and how do you fix it?

7 Jan 2020
Visit/policy-legislation/general-data-protection-regulation-gdpr/354577/data-protection-fines-hit-ps100m
General Data Protection Regulation (GDPR)

Data protection fines hit £100m during first 18 months of GDPR

20 Jan 2020