Why are the commands ipconfig and ping not recognized in the command prompt on my windows 10 PC? How do I recognize this commands? Here you've a screenshot.
Asked
Active
Viewed 4.8k times
2
H. Pauwelyn
- 734
- 4
- 14
- 33
-
1have you don't anything with your environment variable/path lately? type "path" in cmd and show us that too pls – Cand3r Feb 24 '16 at 15:50
-
Your path is broken. – DavidPostill Feb 24 '16 at 16:02
-
Relevant: [What are PATH and other environment variables, and how can I set or use them?](http://superuser.com/q/284342) – DavidPostill Feb 24 '16 at 16:03
1 Answers
4
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.
This answer was taken from howtogeek.com.
H. Pauwelyn
- 734
- 4
- 14
- 33
Jay T.
- 211
- 1
- 6
-
5This is a bad answer. The rest of the default path is missing. It should be `PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\ `. See [Standard value of PATH variable Windows 10](http://superuser.com/q/973153) – DavidPostill Feb 24 '16 at 15:59
-
1+1 on the answer, though I do agree with @DavidPostill. :) A tip, you might want to learn a bit about `formatting` to make your answer more readable. :) – LPChip Feb 24 '16 at 15:59
-
I think this answer is wrong. a) There is not "set path to" option in dhe Environment Variables dialog window. There's an **edit** button. You can edit specific members of the Path variable. b) There are two types of Environment Variables in this dialog: **user** and **system**. You should edit the Path **system** variable. c) If missing, **add** `%SystemRoot%\system32` to the Path **system** variable. – Daniel K. Dec 15 '21 at 14:36
