command prompt does not recognize any of your commands?

on Thursday, 16 August 2012
When I type in ipconfig or ping I get a message in command prompt that these commands are not recognized. Any ideas? Thanks


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

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



Q&A:

Q:
There is PATH and PATHEXT, do I edit PATH?

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

Q:
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.


A:
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



Ref:

http://www.tomshardware.com/forum/236307-45-command-prompt-working

0 comments:

Post a Comment