Solved CMD - TRACERT\PING etc.

damir

New Member
Hi,

I am not sure if am posting this in right part of the forum, if not, moderators please move it to :))

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\user>tracert www.vistax64.com
'tracert' is not recognized as an internal or external command,
operable program or batch file.



C:\Users\user>ping vistax64.com
'ping' is not recognized as an internal or external command,
operable program or batch file.

This just started happening to me.

What could be the problem?

How can i fix this.

Thank you!
Damir
 

My Computer

Ping.exe and tracert.exe are executables which should be present in \windows\system32. The error message suggests they're not being found, which leads to two obvious possibilities:

1) It's cos they ain't there. DIR /S PING.EXE from the root of the C: drive (if that's where your Windows folder lives) would find all instances.

2) \Windows\system32 is no longer within your PATH environment variable, which is why trying to invoke them from \users\user doesn't work. Type PATH from a cmd prompt to check whether it includes \windows\system32. It really, really ought to.

I'd be curious to hear what it turns out to be :)
 

My Computer

Hi,

This is what i get from typing PATH:

PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Fi
les (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\PROGRA~1\DISKEE~1\DISKEE~1\


Thanks,
damir
 

My Computer

OK. As long as you see C:\WINDOWS when you type this: ECHO %SYSTEMROOT%, it's not a PATH problem.

Can you actually see ping.exe and tracert.exe in C:\WINDOWS\SYSTEM32?
 

My Computer

If you change directory to c:\windows\system32 and type PING or TRACERT from there, what are the results? Same?

What about if you type DIR PING.EXE in that same location? Does it find the file?
 

My Computer

Hi,
When i cd to the dir as you asked, it works.

Results:

c:\Windows\System32>ping vistax64.com

Pinging vistax64.com [74.86.200.236] with 32 bytes of data:
Reply from 74.86.200.236: bytes=32 time=57ms TTL=121
Reply from 74.86.200.236: bytes=32 time=57ms TTL=121
Reply from 74.86.200.236: bytes=32 time=57ms TTL=121
Reply from 74.86.200.236: bytes=32 time=57ms TTL=121

Ping statistics for 74.86.200.236:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 57ms, Maximum = 57ms, Average = 57ms

c:\Windows\System32>dir PING.EXE
Volume in drive C is WINDOWS
Volume Serial Number is CEC7-F0A8

Directory of c:\Windows\System32

01/20/2008 10:48 PM 17,408 PING.EXE
1 File(s) 17,408 bytes
0 Dir(s) 130,507,272,192 bytes free

Thank you,
Damir
 

My Computer

At least the files themselves are present. Out of curiosity, what do you see when you type ECHO %SYSTEMROOT% ?
 

My Computer

Hi,
When i cd to the dir as you asked, it works.

Results:

c:\Windows\System32>ping vistax64.com

Pinging vistax64.com [74.86.200.236] with 32 bytes of data:
Reply from 74.86.200.236: bytes=32 time=57ms TTL=121
Reply from 74.86.200.236: bytes=32 time=57ms TTL=121
Reply from 74.86.200.236: bytes=32 time=57ms TTL=121
Reply from 74.86.200.236: bytes=32 time=57ms TTL=121

Ping statistics for 74.86.200.236:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 57ms, Maximum = 57ms, Average = 57ms

c:\Windows\System32>dir PING.EXE
Volume in drive C is WINDOWS
Volume Serial Number is CEC7-F0A8

Directory of c:\Windows\System32

01/20/2008 10:48 PM 17,408 PING.EXE
1 File(s) 17,408 bytes
0 Dir(s) 130,507,272,192 bytes free

Thank you,
Damir

Hi,

Go to computer properties,in the properties window click on advanced system settings, in the next window click environment variables, there u can find the path variable in lower side. U can edit the values by clicking edit. U can delete all from c:\program files\....\...\.
my path variable's value is

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    71.2 KB · Views: 417

My Computer

System One

  • Manufacturer/Model
    Wipro
    Motherboard
    Intel dq35j0
    Memory
    8 Gb
    Graphics Card(s)
    inter express chipset
    Sound Card
    Realtek
    Monitor(s) Displays
    Wipro
    Screen Resolution
    1024*768
    Hard Drives
    500 gb
    Keyboard
    DELL
    Mouse
    Dell
    Internet Speed
    100 mbps(office lan)

My Computer

System One

  • Manufacturer/Model
    Wipro
    Motherboard
    Intel dq35j0
    Memory
    8 Gb
    Graphics Card(s)
    inter express chipset
    Sound Card
    Realtek
    Monitor(s) Displays
    Wipro
    Screen Resolution
    1024*768
    Hard Drives
    500 gb
    Keyboard
    DELL
    Mouse
    Dell
    Internet Speed
    100 mbps(office lan)
Back
Top