spirodem
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
'ipconfig/all' is not recognized as an internal or external command, operable program or batch file
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
Check instead the path & report the result here.
Type:
path
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
path=%systemRoot%\system32 ;%systemro ot%;%syste mroot%\syt sem32\wbem ;c:\progra m 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.
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?
echo %systemRoot%
--Then if %systemRoot% is stated as being c:\windows
c:
cd %systemRoot%
dir /s ipconfig.exe
--Does it find the file?
vs
ipconfig /all
(space needed after the g)