Jump to content

Windows XP Dos Prompt


Recommended Posts

Strange one this......

When I bring up the Command Prompt in Windows XP, either from typing "cmd" in the run box or selecting it from the start menu, I get the following error.

If I type "ipconfig" at the prompt, Windows claims that this utility doesn't exist. However, if I change directory so that the prompt is in the c:\windows\system32 folder, IPCONFIG runs fine.

It should work from the C: prompt.

Anyone know why this is and how to fix it?

Thanks

Link to comment
Share on other sites

I went into the Environment variables, and the follwing were listed under "Path" :

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\SecureFX;C:\Program Files\MySQL\MySQL Server 4.1\bin;

So this means that it is already there.

Any other ideas?

Thanks for your reply though.!

Link to comment
Share on other sites

I added the follwoing into the the variable:

c:\windows\system32

and left the other as they are, including the %systemroot%\system32, and it now works.

Excellent!

Is there somewhere that defines what %systemroot% is? Could this have been corrupted at all? Can I fix this?

Thanks again.

Link to comment
Share on other sites

You can check its value from command prompt
echo %systemroot%

It should return C:\WINDOWS

Just an expansion on this (I'm not sure if you know this or not) but you can change this variable just like above:

set %systemroot%=C:\Windows

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy