The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

ipconfig /all no longer works?

TelemachusTelemachus uncomfyRegistered User regular
edited May 2007 in Help / Advice Forum
For some reason I am suddenly unable to use the command "ipconfig /all" at the command prompt. I receive the message "ipconfig /all is not recognized as an interal or external command, operable program, or batch file". I'm using Windows XP, and I also get no response when I right-click my local area connection and select "status". Any advice?

Telemachus on

Posts

  • DrFrylockDrFrylock Registered User regular
    edited May 2007
    Your %PATH% user environment variable probably got erased, malformed, or no longer includes your \windows\system32 directory.

    DrFrylock on
  • TelemachusTelemachus uncomfy Registered User regular
    edited May 2007
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\QuickTime Alternative\QTSystem\;;

    That's what it should be, no?

    Telemachus on
  • BamaBama Registered User regular
    edited May 2007
    That looks good so long as %SystemRoot% is properly defined. Can you find ipconfig.exe using windows' search?

    Bama on
  • TelemachusTelemachus uncomfy Registered User regular
    edited May 2007
    Yeah, it's where it should be (c:\windows\system32\ipconfig.exe). I can use it by manually navigating to the directory at the command prompt, I guess, but it's somewhat inconvenient. Plus, I just don't like things not working correctly.

    Telemachus on
  • BamaBama Registered User regular
    edited May 2007
    Ok, that is bizarre. Can you confirm that %SystemRoot% is defined as C:\Windows?

    Bama on
  • TelemachusTelemachus uncomfy Registered User regular
    edited May 2007
    It is indeed. >echo %systemroot% = c:\windows

    Telemachus on
  • RuckusRuckus Registered User regular
    edited May 2007
    Have you tried running it from 'cmd' as well as 'command'? They sometimes react differently for no apparent reason.

    Also, you can check your Environmental Variables under My Computer/Properties/Advanced/Environmental Variables. If a weird User or System variable got in their, it could conceivably muck things up.

    Ruckus on
  • YarYar Registered User regular
    edited May 2007
    Can you locate the ipconfig executable, and run it from that folder?

    Yar on
  • RuckusRuckus Registered User regular
    edited May 2007
    Yar wrote: »
    Can you locate the ipconfig executable, and run it from that folder?
    Telemachus wrote: »
    Yeah, it's where it should be (c:\windows\system32\ipconfig.exe). I can use it by manually navigating to the directory at the command prompt, I guess, but it's somewhat inconvenient. Plus, I just don't like things not working correctly.

    Ruckus on
  • iTunesIsEviliTunesIsEvil Cornfield? Cornfield.Registered User regular
    edited May 2007
    My PATH var doesn't have other variables in it. For instance mine is:
    C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Windows\System32\WindowsPowerShell\v1.0\
    
    Notice that the SystemRoot is actually C:\WINDOWS and not just the environment variable. I think environment variables have to be their actual values, and not a variable itself.

    See what happens if you replace the %SystemRoot% with C:\WINDOWS in your path.

    iTunesIsEvil on
  • TelemachusTelemachus uncomfy Registered User regular
    edited May 2007
    That did it. Still get no response when I right-click my connection and select status, but the command-prompt actions now function. Much obliged, all.

    Telemachus on
  • gneGnegneGne Registered User regular
    edited May 2007
    Are you using a space after the "ipconfig /"? Stupid question maybe, but it seems to look like that in the thread title.

    EDIT: nvm, works with a space too.

    gneGne on
    pasigcopyox6.jpg
Sign In or Register to comment.