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.
-
1have you don't anything with your environment variable/path lately? type "path" in cmd and show us that too pls– Cand3rFeb 24, 2016 at 15:50
-
Your path is broken.– DavidPostill ♦Feb 24, 2016 at 16:02
-
Relevant: What are PATH and other environment variables, and how can I set or use them?– DavidPostill ♦Feb 24, 2016 at 16:03
1 Answer
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.
-
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, 2016 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. :)– LPChipFeb 24, 2016 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. Dec 15, 2021 at 14:36