ipconfig /all error

when i type ipconfig /all i get the following error,
'ipconfig/all' is  not recognized as an internal or external command, operable program or batch file
spirodemAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
callrsCommented:
ipconfig/all
vs
ipconfig /all
(space needed after the g)
0
 
spirodemAuthor Commented:
with the space i get the error
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
callrsCommented:
O wait, I thought that was it, but misspelt ipconfig. It works with or without space.
Check instead the path & report the result here.
Type:
path
0
 
spirodemAuthor Commented:
path=%systemRoot%\system32;%systemroot%;%systemroot%\sytsem32\wbem;c:\program file\maestro learning\common
0
 
callrsCommented:
The ipconfig file should be in one of the paths listed (e.g. C:\Windows\System32\) when you type path, as the link given by jvuz indicates. If it's not there, then "sfc /scannow" might help, but more important is why it disappeared ...so a virus/spyware check could be necessary (using AVG, Ewido, Spybot,...).

If the path is not what it should be, then the second link also has a fix.
0
 
callrsCommented:
Now:
echo %systemRoot%
--Then if %systemRoot% is stated as being c:\windows
c:
cd %systemRoot%
dir /s ipconfig.exe

--Does it find the file?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.