When I type these:
ping yahoo.com
or
ping -n or ipconfig
The answer is just this
'ping' is not recognized as an internal or external command operable program or batch file
or
'ipconfig' is not recognized as an internal or external command operable program or batch file.
i tried these 2 solutions.
Go to Properties in My computer, Advanced system settings → Advanced → Environment Variables Select 'PATH' from the list of system variables and edit and set PATH to c:\windows\system32 ; this will solve your problem.
If still you have a problem, do the below steps
Control Panel → System and security → Windows Firewall → Advanced settings → Inbound rules → New rule → custom rule
Im Protocol and ports: Protocol: ICMPv4 on the same panel go to customize, choose "Specific ICMP types", check the box "echo request"
but it is still a problem, how can I solve it?