"ping" is not recognized as an interior or exterior command operable program or batch file

or

"ipconfig" is not known as an interior or outside command operable regimen or batch file.

i tried this 2 solutions.

Go to properties in mine computer, advanced system settings → progressed → atmosphere Variables choose "PATH" indigenous the list of mechanism variables and also edit and collection PATH come c:windowssystem32 ; this will resolve your problem.

You are watching: Ping is not recognized as an internal or external command

If tho you have a problem, do the below steps

Control panel → System and also security → home windows Firewall → progressed settings → Inbound rule → new rule → custom rule

Im Protocol and ports: Protocol: ICMPv4 top top the exact same panel go to customize, pick "Specific ICMP types", check the crate "echo request"

but it is tho a problem, how can I solve it?


cmd.exe
share
enhance this inquiry
monitor
edited Apr 25 "14 at 10:29
*

Sathyajith Bhat♦
60.4k3636 yellow badges176176 silver- badges263263 bronze title
inquiry Apr 25 "14 at 9:49
*

monamona
8111 gold badge11 silver badge22 bronze badges
3
include a comment |

3 answer 3


active earliest Votes
15
When girlfriend updated your route variable, did you close and also then reopen the Command Prompt prior to you tried to run those commands again? due to the fact that you need to (or possibly restart).

It sounds favor your course variable may have been overwritten through accident.

If friend navigate to C:WINDOWSsystem32, and shot to operation ping indigenous there, does that work? If so, the is your route variable that has the problem.


share
improve this price
monitor
reply Oct 15 "14 at 7:20
*

Matty JMatty J
26122 silver- badges44 bronze title
add a comment |
1
The path is now managed by windows 7 and not the autoexec.bat or autoexec.nt files. To readjust the system environment variables, follow the listed below steps.

From the desktop, right-click mine Computer and also click Properties.In the device Properties window, click on the progressed tab.In the advanced section, click the setting Variables button.Finally, in the atmosphere Variables window (as displayed below), to mark the course variable in the systems Variable section and also click the modify button. Include or change the path lines through the paths you great the computer to access. Each different directory is separated with a semicolon as displayed below.

See more: 5000 Mcg Equals How Many Mg ? How Many Milligrams In 5000 Mcg Recipes

This is the default PATH environment variable setting on fresh install of home windows 7

%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;%SYSTEMROOT%System32WindowsPowerShellv1.0


re-superstructure
improve this prize
follow
reply Oct 23 "14 at 16:35
*

laleh1380laleh1380
1111 bronze badge
include a comment |
-2
It"s no clear what type of OS you space using, because both OS/2 and Windows NT have cmd.exe.

In the situation of Windows, you might try re-expanding the papers from your install decaying (asumming windows xp or earlier). Maybe you need to collection your NIC to use TCP/IP, which could reinstall this files.


share
enhance this prize
follow
answered Apr 25 "14 in ~ 11:52
*

wendy.kriegerwendy.krieger
70844 silver- badges1212 bronze title
1
add a comment |

Not the answer you're spring for? Browse other questions tagged cmd.exe or ask your own question.


The Overflow Blog
Featured top top Meta
Linked
21
Why is "ipconfig" not recognized as an interior or external command?
connected
20
'telnet' is not known as an interior or external command,operable regime or batch document
1
'fsutil' is not well-known as an inner or exterior command, operable routine or batch record
6
Enable-WindowsOptionalFeature is not recognized in windows 10
4
youtube-dl 'youtube-dl' is not known as an internal or exterior command, operable regimen or batch paper
0
single quote clues in a batch file don't do the favored program to be enforcement
1
Rar is not recognized as an interior or outside command
0
python3 is not recognized as an inner or exterior command.operable program or batch file
warm Network questions much more hot concerns
supervisor User
agency
stack Exchange Network
site style / logo © 2021 ridge Exchange Inc; user contributions license is granted under cc by-sa. Rev2021.10.21.40537


Super User works best with JavaScript allowed
*

her privacy

By clicking “Accept every cookies”, you agree ridge Exchange can store cookie on your machine and disclose info in accordance through our Cookie Policy.