Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Command Prompt: Won't recognize commands.


  • Please log in to reply

#1
Gers_

Gers_

    Member

  • Member
  • PipPip
  • 11 posts
No commands are working in my Command Prompt. I just get left with the following error.

'command' is not recognized as an internal or external command,
operable program or batch file.

Any help fixing would be great. Thanks.
  • 0

Advertisements


#2
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,978 posts
Hi Gers,

Can you open the Command Prompt? How To Open Command Prompt in Windows 7

command isn't a valid command to use on the Windows Vista/Win 7/Win 8 Command Prompt. Command was a valid way to open the Command Prompt on Windows XP.
  • 0

#3
Gers_

Gers_

    Member

  • Topic Starter
  • Member
  • PipPip
  • 11 posts
Sorry, should have explained. I meant command as in any command that I use.
  • 0

#4
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,978 posts

Sorry, should have explained. I meant command as in any command that I use.


Can you give me an example?
  • 0

#5
Gers_

Gers_

    Member

  • Topic Starter
  • Member
  • PipPip
  • 11 posts
Things like this;
http://imgur.com/VDem6yR

Edited by Gers_, 07 September 2013 - 02:32 PM.

  • 0

#6
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,978 posts

Things like this;
http://imgur.com/VDem6yR

Hi,

On the command prompt type this:
echo %path%

Post the result.
  • 0

#7
Gers_

Gers_

    Member

  • Topic Starter
  • Member
  • PipPip
  • 11 posts
Microsoft Windows [Version 6.1.7601]
Copyright © 2009 Microsoft Corporation. All rights reserved.

C:\Users\Alex Hill>echo &path&
ECHO is on.
PATH=C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bi
n\x86;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x
86)\Java\jre7\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x
86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Java\jre7\bin

C:\Users\Alex Hill>
  • 0

#8
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,978 posts
Hi,

To fix that I need to take a look to your System Registry...
Please download SystemLook from one of the links below according to your OS Architecture and save it to your Desktop.
SystemLook (64-bit)
SystemLook (32-bit)

  • Double-click SystemLook_x64.exe to run it.
  • Accept the prompt Allow the program to make changes to this computer (UAC prompt)
  • Copy the content of the following codebox into the main textfield:
    :reg
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    
  • Click the Look button to start the scan.
  • When finished, a notepad window will open with the results of the scan. Please post this log in your next reply.
Note: The log can be found on your Desktop entitled SystemLook.txt
  • 0

#9
Gers_

Gers_

    Member

  • Topic Starter
  • Member
  • PipPip
  • 11 posts
Here you go.

Attached Files


  • 0

#10
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,978 posts
Hi,

The system PATH is missing the system folders where the external commands reside... To fix that we need to change the registry.

The steps that I am about to suggest involve modifying the registry. Modifying the registry can be dangerous so we will make a backup of the registry first.
Modification of the registry can be EXTREMELY dangerous if you do not know exactly what you are doing so follow the steps that are listed below EXACTLY. if you cannot perform some of these steps or if you have ANY questions please ask BEFORE proceeding.


Create a System Restore Point

  • Click the Start Orb Posted Image, on the Search box type restore point, on the search results click Create a Restore Point
    Posted Image
    Note: It may take some time for the system to populate the Available Drives box, so be patient.
  • On the Protection Settings box make sure the protection is On for Local Disk (?) (System).
    Your OS drive letter will be shown in place of the ?.
  • Click the Create button at the bottom
  • A System Protection window will open.
  • Type in a name for the restore point, i.e: Before Registry Fix and click Create
  • Please wait until the System Protection window tell you a Restore Point is being created.
  • The System Protection window will then tell you the Restore Point was created successfully. Click Close
  • Click OK.

Modify the System Registry

!!! WARNING !!! The following fix is only relevant for this system and no other, running the script on another computer will not work and may cause problems...

  • Download the file FixPath.reg and save it to the Desktop
  • Double click the file FixPath.reg and accept the Security Warning related to Registry Editor
    Posted Image
  • click the Yes to accept importing the file to the Registry

Open the Command Prompt and test, the change should work without a reboot.
  • 1

#11
Gers_

Gers_

    Member

  • Topic Starter
  • Member
  • PipPip
  • 11 posts
Thank you! My system did require a reboot for it to work but now works perfectly.
Once again, thanks a bunch!
  • 0

#12
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,978 posts

Thank you! My system did require a reboot for it to work but now works perfectly.
Once again, thanks a bunch!


Good. I wasn't 100% sure that it was not necessary to restart.
  • 0

#13
Richard.o

Richard.o

    New Member

  • Member
  • Pip
  • 1 posts
could you provide me with a link to fixpath.reg i am having an identical problem
  • 0

#14
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,978 posts

could you provide me with a link to fixpath.reg i am having an identical problem

Hi Richard,

Sorry I didn't notice your post, it's always better to start your own thread because posting in one from other user can be missed.

The fixpath.reg was specifically prepared for this user that's why isn't available.

If you still need assistance please start a new thread describing your problem, I'm sure you will get help from someone.
  • 0

#15
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,091 posts

I split LESSA's post off to it's own thread here: No commands work - split from othe thread
 

 

- Z


  • 0






Similar Topics

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