In File Explorer, hold Shift when right-clicking on a blank space in the desired folder bring up the Extended Context Menu. One of the options is Open Command Window Here.

Or you can select the location bar (by clicking or Alt+D or Ctrl+L), and then type cmd and press Enter.

Since Windows 10 Creators Update, the option has been replaced with Open PowerShell Here.

Get Open Command Window Here back

First, Open regedit.

Perform the steps below twice at the key HKEY_CLASSES_ROOT\Directory\shell\cmd and HKEY_CLASSES_ROOT\Directory\Background\shell\cmd respectively.

  1. Take ownership of the key.
  2. Add your account to full permissions list.
  3. Change the name of the DWORD HideBasedOnVelocityId to ShowBasedOnVelocityId.

Then both right-clicking on the background and on the folder has the Open command window here option.

Further Reading

  1. Windows Explorer “Command Prompt Here” | Stack Overflow
  2. How do I change “Open with Powershell” to “Open with Command Prompt” when shift-rightclicking in Explorer? | Super User