2

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.

(Click on image to watch in full screen)

H. Pauwelyn
  • 734
  • 4
  • 14
  • 33

1 Answers1

4
  1. Go to Properties in My computer → Advanced system settings → Advanced → Environment Variables.

  2. 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
  • 5
    This 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