Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Command prompt won't recognize Any commany

Command prompt Commands Windows 7 registry fix

  • Please log in to reply

#1
fuzzy_kitten

fuzzy_kitten

    New Member

  • Member
  • Pip
  • 3 posts

Command Prompt will open and I may type, but any command such as ; ipconfig, ECHO, help, and all others will not work. With all commands I get an error saying "{what ever command} is not reconized as an internal or external , operable program or batch file." After some research I believe it has something to do with my registry, but I'm unsure of how to fix it.  CMD-error.gif

A similar problem happened at http:// www.geekstogo.com/forum/topic/333199-command-prompt-wont-recognize-commands/ (remove the space after http://) but the solution is system specific 


Edited by fuzzy_kitten, 04 May 2014 - 08:09 PM.

  • 0

Advertisements


#2
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,091 posts

What is your PATH environment variable set to?

 

From a Command Prompt, enter path to see.

 

Normally starts with C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem; and has a lot more after that.


  • 0

#3
fuzzy_kitten

fuzzy_kitten

    New Member

  • Topic Starter
  • Member
  • Pip
  • 3 posts

My path looks like this 

Attached Thumbnails

  • path.gif

  • 0

#4
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,091 posts

You are missing the three directories I mentioned previously. Add them to the front of the PATH variable and commands should work.

 

To test this before doing anything permanently, do the following.

 

Open a Command Prompt.

Enter path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;%path%

 

Try your commands. If they work okay (they should) then change the PATH environment variable, putting those three directories first.

 

Control Panel, System, Advanced system settings, Environment variables button

Under System variables, scroll down to Path.

Select it and click Edit.

Left click in the Variable value field to get rid of the blue selection then press the Home key to move to the beginning of the field.

Paste C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem; in front of anything that is there. Make sure you DO NOT replace anything, just add this to the beginning.

Click OK as needed to get out.

 

Should be all set now.


  • 1

#5
fuzzy_kitten

fuzzy_kitten

    New Member

  • Topic Starter
  • Member
  • Pip
  • 3 posts

It Worked, I can't thank you enough :)

Attached Thumbnails

  • cmdfix.gif

  • 0

#6
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,091 posts

That's great, thanks for letting me know.


  • 0






Similar Topics


Also tagged with one or more of these keywords: Command prompt, Commands, Windows 7, registry, fix

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP