can't run programs from system32 with CMD


  1. Posts : 55
    Windows 7 Ultimate x64 SP1
       #1

    can't run programs from system32 with CMD


    Please Help. I can't run any programs from system32 folder (like chkdsk or chkntfs) with Command Prompt (even in an elevated one and I turned off my UAC). It'll return like "''chkdsk' is not recognized as an internal or external command, operable program or batch file."

    So I have to navigate to system32 folder first then using Shift+Right Click and select "Open command window here" then run the program from there

    But using the usual Command Prompt, I still can run programs from Windows folder (like regedit)

    Thanks
      My Computer


  2. Posts : 6
    Windows 7 Ultimate
       #2

    See if you can list the directory contents, from the cmd window.

    C:\windows\system32>DIR
      My Computer


  3. Posts : 6,285
    Windows 10 Pro X64
       #3

    Also check the path environment variable. Just enter path from the command prompt. Make sure it has

    C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem

    in it. If not, add it via Control Panel, System, Advanced system settings, Environment Variables button. Scroll down to Path in the lower window, select it then click Edit. Be careful not to wipe it out completely as it's allready pre-selected.

    On a clean install of Win 7 Ultimate x86, path is set to: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
      My Computer


  4. Posts : 55
    Windows 7 Ultimate x64 SP1
    Thread Starter
       #4

    Thanks Ztruker. It works

    Somehow the path value has changed to
    Code:
    C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Windows Live\Shared;C:\PROGRA~1\DISKEE~1\DISKEE~1\
    Resolved
      My Computer


 

  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 00:06.
Find Us