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.9k times
2
H. Pauwelyn
- 734
-
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? – 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
Jay T.
- 211
-
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 – 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
formattingto 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
– Daniel K. Dec 15 '21 at 14:36%SystemRoot%\system32to the Path system variable.
