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.
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.
The IT Pro guide to Windows 10 migration
Everything you need to know for a successful transitionDownload 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.
The case for a marketing content hub
Transform your digital marketing to deliver customer expectationsDownload now
Fast, flexible and compliant e-signatures for global businesses
Be at the forefront of digital transformation with electronic signaturesDownload now
Why CEOS should care about the move to SAP S/4HANA
And how they can accelerate business valueDownload now
IT faces new security challenges in the wake of COVID-19
Beat the crisis by learning how to secure your networkDownload now