Command prompt Problem


  1. Posts : 21
    windows 7 64 bit
       #1

    Command prompt Problem


    Anytime I run cmd as administrator it now says C:\Windows> NOT C:\Windows\System32 (which is what I want)

    I have no idea how to make it run in system 32 folder by default. (not cd system32 (ain nobody got time for that))

    Thanks

    ~Matt
      My Computer


  2. Posts : 5,440
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #2

    First try creating a new admin account and see if that shows System32 then if no good try running sfc /scannow. You might have to go through Safe Mode though!
      My Computer


  3. Posts : 6,458
    x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
       #3

    after following Mitchell65's suggestion

    check your environment settings while in the Command Prompt
    set

    look at
    ComSpec=C:\WINDOWS\system32\cmd.exe
    and
    Path=
    C:\WINDOWS\system32;
    C:\WINDOWS;
    C:\WINDOWS\System32\Wbem;
    C:\WINDOWS\System32\WindowsPowerShell\v1.0\;
    C:\Program Files (x86)\Windows Live\Shared

    also see where cmd.exe is located
    - sb :c:\windows\system32

    dir /a /s c:\cmd.exe
    if it's anywhere else - let members reading your thread know that.
      My Computer


  4. Posts : 21
    windows 7 64 bit
    Thread Starter
       #4

    Okay doing non of what you guys said didn't do anything its still the same
      My Computer


  5. Posts : 5,440
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #5

    Where did you find cmd.exe is located and can you post a screenshot showing its' location?
      My Computer


  6. Posts : 1,346
    Windows 7 Professional x64
       #6

    Matts said:
    Anytime I run cmd as administrator it now says C:\Windows> NOT C:\Windows\System32 (which is what I want)

    I have no idea how to make it run in system 32 folder by default. (not cd system32 (ain nobody got time for that))

    Thanks

    ~Matt
    Find the current location of "cmd.exe" as follows;

    Start Button>Control Panel>System>Advanced system settings>Advanced (tab)>Environment Variables (bottom right of the screen)>System variables (where is ComSpec located)? You can modify the location if it is different than;
    C:\Windows\System32\cmd.exe

    HTH
      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 01:09.
Find Us