Link to home
Start Free TrialLog in
Avatar of spirodem
spirodemFlag for Australia

asked on

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
Avatar of callrs
callrs

ipconfig/all
vs
ipconfig /all
(space needed after the g)
Avatar of spirodem

ASKER

with the space i get the error
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
ASKER CERTIFIED SOLUTION
Avatar of jvuz
jvuz
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
path=%systemRoot%\system32;%systemroot%;%systemroot%\sytsem32\wbem;c:\program file\maestro learning\common
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.
Now:
echo %systemRoot%
--Then if %systemRoot% is stated as being c:\windows
c:
cd %systemRoot%
dir /s ipconfig.exe

--Does it find the file?