Windows 10: Is there a way to add the "Open command prompt" back tin the file Menu Solved

Page 1 of 2 12 LastLast
  1.    29 Apr 2017 #1

    Is there a way to add the "Open command prompt" back tin the file Menu


    After the creator's update they removed the Open command prompt under file in the file explorer. Is there a way to add it back?
    Attached Thumbnails Attached Thumbnails cmd-here-file-menu.png  
      My ComputerSystem Spec

  2.    29 Apr 2017 #2

    Interesting. You do know that you can do anything in a powershell prompt that you can in command prompt, right?
      My ComputerSystem Spec

  3.    29 Apr 2017 #3

    Just trying something like

    for %i in ("*.mp4") do echo "%~ni"

    returns an error.

    I don't wanna learn a new language.
      My ComputerSystem Spec

  4.   My ComputersSystem Spec

  5.    29 Apr 2017 #5

    Thank you. Better than nothing I guess.
      My ComputerSystem Spec

  6. Bree's Avatar
    Posts : 8,578
    10 Home x64 (1803) (10 Pro on 2nd pc)
       29 Apr 2017 #6

    ...and on the Win+X menu (or right-click on Start).
    Show Command Prompt or Windows PowerShell on Win+X menu in Windows 10
      My ComputersSystem Spec

  7. lehnerus2000's Avatar
    Posts : 1,761
    W7 Ultimate SP1 (64 bit), LM 18.3 MATE (64 bit), W10 Home 1703 (64 bit), W10 Pro 1703 (64 bit) VM
       29 Apr 2017 #7

    Mystere said: View Post
    Interesting. You do know that you can do anything in a powershell prompt that you can in command prompt, right?
    PowerShell commands are often ridiculously verbose.
      My ComputerSystem Spec

  8. f14tomcat's Avatar
    Posts : 36,213
    Triple boot - Win 10 Pro, Win 10 Pro Insider (2) - (and a sprinkling of VMs)
       29 Apr 2017 #8

    @GoodTimesAhead


    Just FWIW.....if anyone must have a command prompt and feel stuck with Powershell, simply type cmd in Powershell and hit enter. You'll be at a regular Command Prompt. It's only another way of getting there, not the best, but an easy way. If the OP doesn't like/want to use Powershell, this an alternative. Just a suggestion.
      My ComputersSystem Spec

  9.    29 Apr 2017 #9

    If you put those commands in a .cmd (or even .bat) file, then execute them, they will work because Powershell will execute .cmd and .bat files with cmd.exe

    If you want to type them into the shell natively, then just type cmd and you're in a cmd prompt within Powershell.
      My ComputerSystem Spec


  10. Posts : 93
    Windows 10
       30 Apr 2017 #10

    GoodTimesAhead said: View Post
    Is there a way to add it back?
    I don’t think there’s a way to get this option back. No one’s found anything yet and I’ve also tried a few things myself.

    Instead, what you could do is make the “Open Windows PowerShell” Explorer file menu option open the command prompt by changing the data value of the “HKLM\SOFTWARE\Classes\Directory\shell\Powershell\command” (“HKCR\Directory\shell\Powershell\command”) registry value from
    Code:
    powershell.exe -noexit -command Set-Location '%V'
    to
    Code:
    cmd.exe /s /k pushd "%V"
    It will still say “Open Windows PowerShell” though.

    But as the best work around to this problem, I encourage any one reading this to pick up the newer language.


    lehnerus2000 said: View Post
    Mystere said: View Post
    Interesting. You do know that you can do anything in a powershell prompt that you can in command prompt, right?
    PowerShell commands are often ridiculously verbose.
    I’d say this is a good thing anyway, but maybe you say this because you often see people write and share PowerShell commands in their most verbose form. PowerShell lines can often be reduced quite a lot. You can be as verbose or as implicit as you want.

    For example, the command prompt command
    Code:
    for %i in ("*.mp4") do echo "%~ni"
    translates to following in PowerShell
    Code:
    Get-ChildItem -Path '*.mp4' | ForEach-Object -MemberName BaseName | Out-Default
    It’s longer than the command prompt command in its verbose form, but it can also be written in short form as
    Code:
    ls *.mp4 | % BaseName
    Additionally, it is expected you’d use tab completion and never fully type out commands.
    Last edited by Pyprohly; 30 Apr 2017 at 01:57.
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
So I updated to the CU over a week ago, and I noticed an odd change. The "Open command prompt here" option in the shift+right-click context menu has been replaced by "Open Windows Powershell here" instead. Powershell does not work with the apps I...
This problem is usually fixed by slow solutions such as restarting my PC. But I run into this every day, so I need a better solution. I have a Buffalo NAS (network hard drive). I have to keep that at Auto-on mode because it's noisy. So everytime I...
1. Create a newTask named OpenCmdHereAsAdminNoUAC and activate "Run with the highest privileges" 2. Go to the Actions Tab, create a new Action "Start a Program" choose "C:\Windows\System32\cmd.exe" and set the Working Directory (Start in) to...
I want to use the command line to open the "Custom sizing options" window in Windows 10, please view the image, thank you. 99228
When you right click any file, you can see the Open with... dialog. When I click it, nothing happens. :( :sleepy: I kept on waiting but the Open with window is still not popping out of my screen. :chuckle: Well I tried this solution that was...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:20.
Find Us