Windows 10: Windows 10 Power shell executes in command prompt

Discus and support Windows 10 Power shell executes in command prompt in Windows 10 Customization to solve the problem; I have been using power shell as an alternative to command prompt for quite a long time. I mostly use it for Android debugging tool "adb". I am... Discussion in 'Windows 10 Customization' started by JainAman, Sep 4, 2018.

  1. JainAman Win User

    Windows 10 Power shell executes in command prompt


    I have been using power shell as an alternative to command prompt for quite a long time.

    I mostly use it for Android debugging tool "adb".


    I am recently facing problem where any command I write in Power Shell opens a cmd window, executes the command in cmd and closes the cmd.

    I am unable to find any solution for it.

    Also, I have not modified any setting for Power Shell.


    Please provide a solution to the problem.

    :)
     
    JainAman, Sep 4, 2018
    #1
  2. JainAman Win User

    Windows 10 Power shell executes in command prompt

    I have been using power shell as an alternative to command prompt for quite a long time.

    I mostly use it for Android debugging tool "adb".

    I am recently facing problem where any command I write in Power Shell opens a cmd window, executes the command in cmd and closes the cmd.

    I am unable to find any solution for it.

    Also, I have not modified any setting for Power Shell.

    Please provide a solution to the problem.
     
    JainAman, Sep 6, 2018
    #2
  3. JainAman Win User
    Windows 10 Power shell executes in command prompt

    Yes, I have been using the commands in Power Shell before with no issues.
     
    JainAman, Sep 6, 2018
    #3
  4. DaveM121 Win User

    Windows 10 Power shell executes in command prompt

    Power shell to Command prompt in windows creators update

    Yes Microsoft in their wisdom are phasing out Command Prompt in favour of Powershell . . .

    Here are the steps to add that option back to the Context Menu in Windows File Explorer:

    • Make sure you can see files extensions - In File Explorer, on the View Tab, check the box 'File Name Extensions'
    • Close File Explorer if it is open
    • Right click a black space on your Desktop, choose New - Text Document
    • Copy the text below into it
    • Save the file and give it a meaningful name
    • Change the file extension from .txt to .reg
    • Right click the file and choose 'Merge'
    • Confirm the merge when asked
    • That's it, you're done, 'Open Command Prompt Here' will be back on your Shift + Right click menu in File Explorer!

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\Directory\shell\cmdprompt]

    @="@shell32.dll,-8506"

    "Extended"=""

    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Directory\shell\cmdprompt\command]

    @="cmd.exe /s /k pushd \"%V\""

    [HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt]

    @="@shell32.dll,-8506"

    "Extended"=""

    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt\command]

    @="cmd.exe /s /k pushd \"%V\""

    [HKEY_CLASSES_ROOT\Drive\shell\cmdprompt]

    @="@shell32.dll,-8506"

    "Extended"=""

    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Drive\shell\cmdprompt\command]

    @="cmd.exe /s /k pushd \"%V\""

    EXTRA NOTE: To add Command Prompt back to the right click of your Start Menu
    (this only adds Command Prompt back to your Start menu), right click your Taskbar, choose Taskbar Settings and turn this option on . . .


    Windows 10 Power shell executes in command prompt 6266d58f-0935-4837-b11b-0a80de9f1e0c.jpg
     
    DaveM121, Sep 6, 2018
    #4
Thema:

Windows 10 Power shell executes in command prompt

Loading...
  1. Windows 10 Power shell executes in command prompt - Similar Threads - Power shell executes

  2. Changing power via command prompt

    in Windows 10 Customization
    Changing power via command prompt: Hello everyone! I was wondering if there was a command that could be entered into command prompt to change the battery settings to "best performance" or to "best battery" . I know that there are ways to change the power plan by using power cfg -s, but I wanted to change the...
  3. Command Prompt Interfce Got Changed Due to Command Executed

    in Windows 10 Customization
    Command Prompt Interfce Got Changed Due to Command Executed: Hello All, Sometime back I run a command on my command prompt to change the text color which I found somewhere on Google. After that my command interface got changed Refer below screenshot of command prompt and now I want to reset my command back to default. Kindly help...
  4. Windows Power shell

    in Windows 10 Customization
    Windows Power shell: Yes how do I get rid of power shell from starting? It's driving me nuts. I don't use it so why does it need to start on start up? https://answers.microsoft.com/en-us/windows/forum/all/windows-power-shell/4efe6c39-e510-4a6d-9b6c-33ff8eb71384
  5. Windows can't find my Power Shell (administrator) command.

    in Windows 10 Support
    Windows can't find my Power Shell (administrator) command.: Something seems to be wrong with my system files. Don't get the double arrows when I try to adjust my Taskbar's height. Can't access Power Shell (administrator) to run Dism. So, used Dism>Restore Health using Command Prompt then ran sfc ?scannow. Didn't find any corrupt...
  6. Windows Power Shell

    in Windows 10 Network and Sharing
    Windows Power Shell: Just discovered Windows Power Shell and am having trouble recalling DOS commands. Can I find a list of available commands? How do I make >cd work for multi word directories?...
  7. Windows Power Shell

    in Windows 10 Customization
    Windows Power Shell: When I start Win 10, Win Power Shell 1.0 comes on the screen and stays there, empty for 1.5 to 2.0 min, locking up the screen and the system for that time. What can I do to keep Win Power Shell from coming up? I have tried to shut it off everywhere I can find it. This...
  8. power shell

    in Windows 10 Installation and Upgrade
    power shell: when i do codding often such problem comes up.failed to create process. what am i suppose to do [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/power-shell/057078df-5693-42bf-a0de-416f6e02f296
  9. How do I access Windows 10 Power Shell commands?

    in Windows 10 Support
    How do I access Windows 10 Power Shell commands?: When I click on the windows in the bottom left of the Taskbar, I get Command Prompt options - but not Power Shell options. By the way, what is the difference between the two? Thank you. 115159
  10. Shell Commands List for Windows 10

    in Windows 10 Tutorials
    Shell Commands List for Windows 10: How to: Shell Commands List for Windows 10 Complete List of Windows 10 Shell Commands A shell command can be typed in the Run (Windows+R) dialog, search, File Explorer address bar, and Internet Explorer address bar to open a Windows shell folder. This tutorial will...