Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Command Prompt Is Not Working
Word :    Username :           
 

When I type in ipconfig or ping I get a message in command prompt that these commands are not recognized. Any ideas? Thanks

Sponsored Links
Register or log in to remove.

In a command prompt, type path and make sure C:\Windows\System32 is in the path.

Grumpy

Reply to Grumpy9117

Grumpy9117 wrote :

In a command prompt, type path and make sure C:\Windows\System32 is in the path.

Grumpy



I still get the message it's an unrecognized command when I type C:\Windows\System32. Tried just C:\ as well and got the same unrecognized command. However, when I type in D:\ or G:\. 2 partitions on the drive, it switches from
C:\Documents and Settings to G: or D: but it won't switch to C:\ or C:\Windows\System32. Tried typing in C:\ and C:\Windows\System32 in G:\ and D:\ and got the unrecognized command.

Reply to g-paw

I'm confused. Did you try the "Path" command in the command prompt? If so, what is the output? Is ping.exe & ipconfig.exe in C:\Windows\System32?

Grumpy

Reply to Grumpy9117

When I open command prompt it shows C:\Documents and Settings\jms. When I type C:\Windows\System32 in I still get the message it's an unrecognized command. I tried typing in just C:\ and C: as well and got the same unrecognized command. However, when I type in D: or G:, 2 partitions on the drive, it switches from
C:\Documents and Settings to G: or D: but it won't switch to C:\ or C:\Windows\System32 when I type them in at D:\ or G:\, I get unrecognized command.

Reply to g-paw

Why are you typing C:\Windows\System32? Type the word path and post the output.

Grumpy

Reply to Grumpy9117

Sorry, miss understood you. This is the path:
PATH=Prgram Files\Common Files\Roxio Shared\DDL Sharred;c:\Common File\Roxio Shared \9.0DLLShared\;C:\Program Files\Common Files\Adobe\AGL

Looks like the problem is the PATH, how can I correct this? Thanks

Reply to g-paw

I take it you did a search for those files to verify that they are actually there?

Reply to Zoron

Right Click My Computer --> Properties --> Advanced --> Environment Variables --> Edit System variables Path

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem should be the first 2 folders.

Grumpy

Reply to Grumpy9117

Grumpy9117 wrote :

Right Click My Computer --> Properties --> Advanced --> Environment Variables --> Edit System variables Path

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem should be the first 2 folders.

Grumpy



There is PATH and PATHEXT, do I edit PATH? Do I just copy and past the above or do I need C:\ or anything else to precede it? Thanks

Reply to g-paw

Edit PATH. Just Copy & Paste and add a ; after Wbem.

Grumpy

Reply to Grumpy9117

Grumpy9117 wrote :

Edit PATH. Just Copy & Paste and add a ; after Wbem.

Grumpy



That fixed it, thanks, appreciate the help

Reply to g-paw

Great help from grumpy above! CONGRATULATIONS!!!

Reply to wildsidelife

Hi, what do I do if the first two are not the Path folders?
Thanks

Reply to birdbird

g-paw wrote :

I still get the message it's an unrecognized command when I type C:\Windows\System32. Tried just C:\ as well and got the same unrecognized command. However, when I type in D:\ or G:\. 2 partitions on the drive, it switches from
C:\Documents and Settings to G: or D: but it won't switch to C:\ or C:\Windows\System32. Tried typing in C:\ and C:\Windows\System32 in G:\ and D:\ and got the unrecognized command.



This works:

Right click your command prompt icon and select properties. In the Command Prompt Properties window, change the "Start in:" setting to C:\Windows\System32. Click "Apply" and "OK".

That sets the default correctly. From there you should be able to run commands without problems
http://img.tomshardware.com/forum/ [...] /hello.gif

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Command Prompt Is Not Working
Go to:

There are 718 identified and unidentified users. To see the list of identified users, Click here.

Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them