Why does "ipconfig"not work in my windows 8 elevated command prompt? [duplicate]

Im needing to find my ipv4 address to make a server because my old one was on windows 7 then i upgraded to windows 8, which i now regret because i cant find my computers ipv4 address when i type ipconfig in my elevated (Run as administrator) command prompt. it comes up with the usual error when it does not understand a command ipconfig is not recognized as an internal or external command, operable program or batch file.

Does anyone know why this is happening or is it just not available on windows 8? i'v seen people do it but that might just be them using a windows 8 skin.

Picture: enter image description here


Solution 1:

Your path variable is missing C:\WINDOWS\system32\

If you run C:\WINDOWS\system32\ipconfig.exe or %SystemRoot%\system32\ipconfigit should work as expected

You can edit PATH variable on Windows 8 like this

  • Drag the Mouse pointer to the Right bottom corner of the screen or press Win + C
  • Click on the Search icon and type: Control Panel
  • Click on -> Control Panel -> System -> Advanced system settings -> Advanced tab
  • Click on Environment Variables, under System Variables, find PATH, and click on it.
  • In the Edit windows, modify PATH by adding "%SystemRoot%\system32;" on the beggining of the line