command prompt dosn't work

Page 3 of 3 FirstFirst 123

  1. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #21

    RangerGord said:
    I was getting the same error: "'sfc' is not recognized as an internal or external, operable program or batch file." when I tried to run sfc in a Run as Administrator cmd prompt.
    Got it working by typing "sfc.exe /scannow" instead of "sfc /scannow".
    Not sure why my system needs the extension, maybe because I disabled the built-in search??
    I have Windows 7 Pro(64)
    What do you mean by "Not sure why my system needs the extension, maybe because I disabled the built-in search"?
      My Computer


  2. Posts : 17
    Windows 7 Pro x64
       #22

    It now works and thanks.
    I disabled the built-in Windows Search (or whatever it's called "Find"?) feature to save on resources.
      My Computer


  3. Posts : 17
    Windows 7 Pro x64
       #23

    You think I was infected?
      My Computer


  4. Posts : 9,582
    Windows 8.1 Pro RTM x64
       #24

    You can fix this quite easily. Bring up the System Properties by right-clicking on Computer and then clicking Advanced system settings. Click on the Advanced tab (if not already pre-selected) and then click on Environment Variables... Under the section headed System variables, scroll down to the line which has the variable name PATHEXT, highlight it by clicking on it and then click Edit... Enter the following into the variable value box:

    .com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.msc or, alternatively, just add ;.exe to the end of what is already there.

    Finally, click OK 3 times to close the dialogue boxes.
      My Computer


  5. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #25

    RangerGord said:
    You think I was infected?
    Don't know. But very strange!! This setting doesn't change all of a sudden.

    When was it last working as expected? Probably you don't know as you don't perform a lot in "command prompt"
      My Computer


  6. Posts : 17
    Windows 7 Pro x64
       #26

    You're right - I have no idea when cmd last worked properly.
      My Computer


 
Page 3 of 3 FirstFirst 123

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

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