Cmd does not recognise 'ipconfig'

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When typing 'ipconfig' in cmd.exe the response is that it is not recogised as
an internal or external command or program.

Anybody has an idea what could have caused this? I am not a computer wiz'
and never work with anything else than MS office and explorer on this
computer... when double clicking on 'networks and connections', I DO get all
the data which ipconfig should have given me

Thanx for the help!
 
And yes, I do have C:\windows\system32 in the Path Statement on my PC. Any
other suggestions?
 
probably your path statement is messed up do a search for the file go to
the command prompt change to that directory and see if it works

Wayne
 
I have no idea what you mean but your advice gave my friend the inspiration
on how to solve this problem! Anyways, he's saying that the path file indeed
had a mistake and that the problem is completely solved now.

Thanx Wayne for your quick response and great help! :-)
 
glad it worked

Wayne


DJ said:
I have no idea what you mean but your advice gave my friend the inspiration
on how to solve this problem! Anyways, he's saying that the path file
indeed
had a mistake and that the problem is completely solved now.

Thanx Wayne for your quick response and great help! :-)
 
I am now having an identical problem to what DJ was having last year...only
as far as I can tell, my Path statement is correct.

Here is a copy/pasted cmd session:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Rik>ping
'ping' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Rik>tracert
'tracert' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Rik>ipconfig
'ipconfig' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Rik>path
PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\Program Fi
les\Common Files\Roxio Shared\DLLShared;C:\Program Files\MySQL\MySQL Server
4.1bin;

C:\Documents and Settings\Rik>cd\

C:\>cd\windows\system32

C:\WINDOWS\system32>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : Shifer
IP Address. . . . . . . . . . . . : 192.168.2.54
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1

C:\WINDOWS\system32>%systemroot%
'C:\WINDOWS' is not recognized as an internal or external command,
operable program or batch file.

C:\WINDOWS\system32>


If I'm missing something, I'll shut up forever with a slight push in the
right direction.
 
Your path is wrong.

When typing path at a command prompt the %systemroot% is converted to whatever it is (usually c:\windows).

I suspect that the registry key holding the path is of Reg_SZ type rather Reg_Expand_SZ type.

I'm also unsure if a trailing ; on the path matters or not. You can experiment and let us know.

Check at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

A Reg_Expand tell windows or whatever program is using the value to expand environmental strings.
--
----------------------------------------------------------
http://www.uscricket.com
Shifer said:
I am now having an identical problem to what DJ was having last year...only
as far as I can tell, my Path statement is correct.

Here is a copy/pasted cmd session:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Rik>ping
'ping' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Rik>tracert
'tracert' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Rik>ipconfig
'ipconfig' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Rik>path
PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\Program Fi
les\Common Files\Roxio Shared\DLLShared;C:\Program Files\MySQL\MySQL Server
4.1bin;

C:\Documents and Settings\Rik>cd\

C:\>cd\windows\system32

C:\WINDOWS\system32>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : Shifer
IP Address. . . . . . . . . . . . : 192.168.2.54
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1

C:\WINDOWS\system32>%systemroot%
'C:\WINDOWS' is not recognized as an internal or external command,
operable program or batch file.

C:\WINDOWS\system32>


If I'm missing something, I'll shut up forever with a slight push in the
right direction.

wayne said:
glad it worked

Wayne
 
The thing I don't understand is...on this computer, I haven't installed any
software, downloaded anything, or done anything like that since October, and
this just started in January. Haven't had a crash or anything, just been
doing regular windows updates.

I'll check the registry, thanks for the help :) I still have no idea how it
could've changed on its own.

David Candy said:
Your path is wrong.

When typing path at a command prompt the %systemroot% is converted to whatever it is (usually c:\windows).

I suspect that the registry key holding the path is of Reg_SZ type rather Reg_Expand_SZ type.

I'm also unsure if a trailing ; on the path matters or not. You can experiment and let us know.

Check at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

A Reg_Expand tell windows or whatever program is using the value to expand environmental strings.
--
----------------------------------------------------------
http://www.uscricket.com
Shifer said:
I am now having an identical problem to what DJ was having last year...only
as far as I can tell, my Path statement is correct.

Here is a copy/pasted cmd session:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Rik>ping
'ping' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Rik>tracert
'tracert' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Rik>ipconfig
'ipconfig' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Rik>path
PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\Program Fi
les\Common Files\Roxio Shared\DLLShared;C:\Program Files\MySQL\MySQL Server
4.1bin;

C:\Documents and Settings\Rik>cd\

C:\>cd\windows\system32

C:\WINDOWS\system32>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : Shifer
IP Address. . . . . . . . . . . . : 192.168.2.54
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1

C:\WINDOWS\system32>%systemroot%
'C:\WINDOWS' is not recognized as an internal or external command,
operable program or batch file.

C:\WINDOWS\system32>


If I'm missing something, I'll shut up forever with a slight push in the
right direction.

wayne said:
glad it worked

Wayne


I have no idea what you mean but your advice gave my friend the inspiration
on how to solve this problem! Anyways, he's saying that the path file
indeed
had a mistake and that the problem is completely solved now.

Thanx Wayne for your quick response and great help! :-)

:

probably your path statement is messed up do a search for the file go to
the command prompt change to that directory and see if it works

Wayne

When typing 'ipconfig' in cmd.exe the response is that it is not
recogised
as
an internal or external command or program.

Anybody has an idea what could have caused this? I am not a computer
wiz'
and never work with anything else than MS office and explorer on this
computer... when double clicking on 'networks and connections', I DO
get
all
the data which ipconfig should have given me

Thanx for the help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top