"ping" is not recognized as an internal or external batch operating program or batch file error

When I execute the ping www.otbotweb.com command, I get: ping is not recognized as an internal or external command working with the program or a batch file error.

Here is an example:

Command Prompt Ping

Then:

Error Command Prompt

So why? What's wrong, am I doing it wrong?

WINDOWS 7 BTW AND 64 BIT

There was some online tutorial that said to search Systems32. And it didn’t even show! In the search for the image there ---> enter a description of the image, here I also rebooted the computer (MANY MANY TIMES

I had it for more than 6 months and it really started to cause me problems.

Also, if you think this is off topic, please explain first: P

+7
source share
2 answers

Most likely, something has removed the system32 directory from your path. Have you installed the Java SDK? It has a reputation for this.

To verify this, type path at the command prompt (then type)

If c: \ windows \ system32 does not exist, you need to add it back. For this:

 From the desktop, Right click 'Computer', click 'Properties' then click 'Advanced system settings' - this should bring up the System Properties - Advanced tab Click 'Enviornment Variables' Select the system variables 'PATH' Edit PATH and add this line to the front c:\windows\system32; or to be generic (in case you've installed windows on a different drive) %SystemRoot%\system32 Start a new command window to check if this has worked (or reboot) existing command windows will use the old path 
+23
source

Assuming you are using Win 64-bit version of windows. Go to C: \ Windows \ SysWOW64 and see if you can find PING.EXE in the folder. If not, go DL alone. Perhaps someone or something (the virus) deleted it

Edited: go to C: \ Windows \ System32 to find PING.EXE if you are using 32 bits.

+4
source

Source: https://habr.com/ru/post/976393/


All Articles