no commands working on windows 7 pro 64 bit cmd

Page 2 of 2 FirstFirst 12

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

    ashwin19 said:
    there is C:\Users\name
    that all..when i type ping (ip) it says is not recognized as an internal or external command
    but when i type C:\cd/d c:\windows\system32\ ping (ip) it work well, all command that i enters..works perfect...
    why?? is there something that should be done, or to change, please give me a possible solution why the cmd is behaving like that..
    regards
    In command prompt
    SET

    Post screenshot
      My Computer


  2. Posts : 11
    win 7 pro 64 bit
    Thread Starter
       #12

    @strollin i've add the variable tht you've said, but remain the same, the cmd remain the same,
      My Computer


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

    Kaktussoft said:
    Simply a problem with your default search path!
    In command prompt
    PATH
    post output

    SET
    post output
    I'm interested if this is listed:
    SystemDrive=C:
    SystemRoot=C:\Windows
    Please post output then I can see what's wrong
      My Computer


  4. Posts : 11
    win 7 pro 64 bit
    Thread Starter
       #14

    @Kaktussoft please find attach a printscreen of my cmd, you'll see when i ping normally, it says its not recognised, but when i put c:\windows\system32\ping.exe "ip" it works again,
    Attached Thumbnails Attached Thumbnails no commands working on windows 7 pro 64 bit cmd-2.jpg  
      My Computer


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

    Kaktussoft said:
    Kaktussoft said:
    Simply a problem with your default search path!
    In command prompt
    PATH
    post output

    SET
    post output
    I'm interested if this is listed:
    SystemDrive=C:
    SystemRoot=C:\Windows
    Please post output then I can see what's wrong
    I asked this twice and still no answer!
      My Computer


  6. Posts : 11
    win 7 pro 64 bit
    Thread Starter
       #16

    @Kaktussoft the set and path output is the same, please find attach a print screen of the cmd output
    Attached Thumbnails Attached Thumbnails no commands working on windows 7 pro 64 bit cmd-untitled.jpg  
      My Computer


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

    The first character of path output is: ;
    remove the first semicolon.
    At the and of path is ; %SystemRoot%\system32
    remove the space after ;

    Now open a new command prompt and it should work
      My Computer


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

    strollin said:
    You need to modify your PATH environment variable to at least include: %SystemRoot%\system32

    To do that, right-click on My Computer, then select Properties, then Advanced system settings. On the Properties dialog select Environment Variables. In the System variables box, scroll until you find the PATH variable then select it and click on the Edit button. Add (don't replace) this to what exists there already: %SystemRoot%\system32 (if appending to the end of the existing PATH make sure you put a semicolon ; in to seperate the values).
    You added
    Code:
     
    ; %SystemRoot%\system32
    instead of
    ;%SystemRoot%\system32
    remove that extra space!
      My Computer


  9. Posts : 3,371
    W10 Pro desktop, W11 laptop, W11 Pro tablet (all 64-bit)
       #19

    Yes, that extra space is causing a problem.
      My Computer


  10. Posts : 11
    win 7 pro 64 bit
    Thread Starter
       #20

    :@Kaktussoft & @strollin : I've added the ;%SystemRoot%\system32 variable, on the laptop, and the cmd work perfectly, all command that i'm using working perfectly, thanks for the support
      My Computer


 
Page 2 of 2 FirstFirst 12

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