Share this article

Latest news

With KB5043178 to Release Preview Channel, Microsoft advises Windows 11 users to plug in when the battery is low

Copilot in Outlook will generate personalized themes for you to customize the app

Microsoft will raise the price of its 365 Suite to include AI capabilities

Death Stranding Director’s Cut is now Xbox X|S at a huge discount

Outlook will let users create custom account icons so they can tell their accounts apart easier

Microsoft explains why the Command Prompt is not dying anytime soon

4 min. read

Published onJanuary 5, 2017

published onJanuary 5, 2017

Share this article

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Reports have spread like wildfire that the MS-DOS style command prompt is out the door to make way for PowerShell. The “news” riled up many enthusiasts, developers, and businesses that rely heavily on the Cmd.exe. So much so that Senior Project Manager at Microsoft Rich Turner posted anofficial blog todaythat announces that no, the sky is not falling!

Rumors of Cmd’s death have been greatly exaggerated:https://t.co/VjUzOP4ponpic.twitter.com/HPg2Kjbbej

— Rich Turner (@richturn_ms)January 5, 2017

The speculation first entered circulation after the release ofWindows 10 Insider build 14971where some of the patch notes were taken out of context. It read:

PowerShell in the Shell: In an effort to bring the best command line experiences to the forefront for all power users, PowerShell is now the defacto command shell from File Explorer. It replaces Command Prompt (aka, “cmd.exe”) in the WIN + X menu, in File Explorer’s File menu, and in the context menu that appears when you shift-right-click the whitespace in File Explorer. Typing “cmd” (or “PowerShell”) in File Explorer’s address bar will remain a quick way to launch the command shell at that location. For those who prefer to use Command Prompt, you can opt out of the WIN + X change by opening Settings > Personalization > Taskbar, and turning “Replace Command Prompt with Windows PowerShell in the menu when I right-click the Start button or press Windows key+X” to “Off“.

Computer World’smisconception that PowerShell was replacing Cmd.exe grabbed everyone’s attention. Fortunately, Turner clarified that Cmd is a vital feature of Windows and isn’t going anywhere. He explained:

Another notion that seemed to strike a nerve for Turner was the assumption that the Cmd was virtually the same as MS-DOS, the simple command-line shell operating system that last shipped over sixteen years ago. Turner went on to clarify in great detail the differences between the two, noting that MS-DOS was written in x86 assembly and wasn’t at all portable to further CPUs. Whereas Cmd was written as a Win 32 app in C language, making it much more versatile all the way from Windows NT to the current Windows 10.

Interesting note: 32-bit versions of Windows derived from NT include an additional shell “command.com” which runs many MS-DOS scripts and legacy 16-bit apps in a Windows NT Virtual DOS Machine (NTVDM) using the x86″ Virtual 8086 mode along with some legacy “quirks”. 64-bit versions of Windows do not include command.com or the NTVDM.

PowerShell is the powerful younger brother to Cmd and has been around in the background for ten years already. While it is designed for more use in the future, much of the Windows build system continue to use the Cmd environment. “If we change Cmd, we tend to break someone,” Turner stated simply.

It’s obvious Turner feels very passionate about the Cmd misconception. He’s even tagged the link to the blog post on hisTwitter bio, just in case.

(edit: updated to reflect the differences between MS-DOS command prompt and CMD, although we note it in the post)

Radu Tyrsina

Radu Tyrsina has been a Windows fan ever since he got his first PC, a Pentium III (a monster at that time).

For most of the kids of his age, the Internet was an amazing way to play and communicate with others, but he was deeply impressed by the flow of information and how easily you can find anything on the web.

Prior to founding Windows Report, this particular curiosity about digital content enabled him to grow a number of sites that helped hundreds of millions reach faster the answer they’re looking for.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Radu Tyrsina