8

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

Antp
  • 1,175

2 Answers2

10

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
ralz
  • 2,566
0

This issue will occur if the "PATH" environment variable did NOT include "C:\WINDOWS\system32" Any executable in that folder could only be run from a cmd prompt if the command included the entire path.

Solution for this is to add "C:\WINDOWS\system32;" to the start of my PATH environment variable, like this:

Log in with Administrator priviledges.
Right-click "My Computer" & select "Properties."
Click "Advanced" tab.
Click "Environment Variables" button.
In the "System variables" box, scroll down to "PATH" and highlight it.
Click the "Edit" button.
In the "Variable value:" box, add to the very beginning of the text "C:\WINDOWS\system32;" without my quotation marks.
Make sure you include the semicolon.
Click OK three times.
No reboot required. If this was your problem, then ipconfig should work right away.
BDRSuite
  • 6,378