1.    09 Jul 2016 #1
    Join Date : Oct 2015
    Posts : 6
    Windows 7 Professional

    Command Prompt not working for user or Administrator


    When selecting the command prompt from the right click on startup options I get the following message:



    'This file does not have a program associated with it for performing this action. Please install a program, or if one is already installed, create an association in the Default Programs control panel'



    Please assist with what has gone wrong and how to fix it. It was working but now not

    Thanks
      My ComputerSystem Spec
  2.    09 Jul 2016 #2
    Join Date : Jul 2015
    Posts : 9,146
    Windows 10 Pro

    If you press Win Key + R to open a run dialog and then run:
    cmd

    what happens?
      My ComputerSystem Spec
  3.    09 Jul 2016 #3
    Join Date : Oct 2015
    Posts : 6
    Windows 7 Professional
    Thread Starter

    Quote Originally Posted by NavyLCDR View Post
    If you press Win Key + R to open a run dialog and then run:
    cmd

    what happens?
    Get a message saying: ' Windows cannot find 'cmd'. Make sure you typed the word correctly then try again'
      My ComputerSystem Spec
  4.    09 Jul 2016 #4
    Join Date : Dec 2013
    Sydney, Nova Scotia, Canada
    Posts : 10,205
    Windows 10 IoT

    Some malware infections will delete or rename that file so you can't use it to undo the infection.
      My ComputerSystem Spec
  5.    09 Jul 2016 #5
    Join Date : Oct 2014
    Trnava
    Posts : 2,738
    Windows 10.4 Home 1709 x64
      My ComputerSystem Spec
  6.    09 Jul 2016 #6
    Join Date : Jul 2015
    Posts : 9,146
    Windows 10 Pro

    Quote Originally Posted by Noeleeng View Post
    Get a message saying: ' Windows cannot find 'cmd'. Make sure you typed the word correctly then try again'
    I would start by doing a repair install:
    Repair Install Windows 10 with an In-place Upgrade - Windows 10 Forums

    That should restore cmd.exe and take care of any other problems. Then I would do a complete disc cleanup using option 2:
    Disk Cleanup - Open and Use in Windows 10 - Windows 10 Forums
      My ComputerSystem Spec
  7.    09 Jul 2016 #7
    Join Date : Aug 2014
    Forever West
    Posts : 3,913
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint

    In such a situation I've had success fixing the problem using this:
    FixExec Download
      My ComputerSystem Spec
  8.    12 Jul 2016 #8
    Join Date : Oct 2015
    Posts : 6
    Windows 7 Professional
    Thread Starter

    Quote Originally Posted by NavyLCDR View Post
    I would start by doing a repair install:
    Repair Install Windows 10 with an In-place Upgrade - Windows 10 Forums

    That should restore cmd.exe and take care of any other problems. Then I would do a complete disc cleanup using option 2:
    Disk Cleanup - Open and Use in Windows 10 - Windows 10 Forums
    Thank you NavyLCDR!!!! It worked Much appreciated.
      My ComputerSystem Spec
  9.    11 May 2017 #9
    Join Date : Aug 2016
    Posts : 3
    windows 10

    I had this same problem with a particular folder, except it was not a folder. I had created a "shortcut" by using "add network location". The right-click - "open command prompt here" did not work with this shortcut but does work with the original folder
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
File Explorer launches Administrator command prompt
When I launch a recent folder or any folder linked on the pinned taskbar icon for File Explorer it launches what appears to cmd.exe with "Administrator" and the folder path in the top bar. the folder is also displayed in the command prompt itself....
General Support
Solved Get elevated command prompt to open in my user directory
I changed Command Prompt on my Taskbar so when I click on it, it opens as Administrator. That sets the default directory as C:\WINDOWS\system32 which I don't like, since any files I create that do not have a path specified will be created there. ...
General Support
Solved Command Prompt
How to call up "command Prompt (Admin) from the "run" dialog box win 10 Home?
General Support
10130 - Run as Administrator not working for Command Prompt
I pinned Command Prompt to the Taskbar then changed the properties to always Run as Administrator. Setting took but is not obeyed: 20287 When I click on the icon in the Taskbar I get: 20288 What I should get is this:
General Support
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 22:35.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums