Closed Solved

Net, bcdedit commands won't work

Hi,

When I open the cmd prompt and just type "net" or "bcdedit", I get those errors

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Nicolas>net
'net' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Nicolas>bcdedit
'bcdedit' is not recognized as an internal or external command,
operable program or batch file.

Does anybody have a solution please?
Thank you !
6 answers Last reply Best Answer
More about bcdedit commands work
  1. synor said:
    Hi,

    When I open the cmd prompt and just type "net" or "bcdedit", I get those errors

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\Nicolas>net
    'net' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Users\Nicolas>bcdedit
    'bcdedit' is not recognized as an internal or external command,
    operable program or batch file.

    Does anybody have a solution please?
    Thank you !


    What do you get for the Path+ if you type "set" at the cmd prompt without the quote characters.
  2. Path=C:\dev\tools\php-5.3.1;C:\dev\tools\MySQL Server 5.5\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

    Oh... this is because I installed Apache on my computer to study how a server works..?
  3. Best answer
    Your PATH variable needs to include the C:\Windows\System32 and C:\Windows folders, that's probably why it's not finding those commands.

    I have no idea why it got screwed up, but you can fix it by:

    - Click Start, right-click "Computer", and select "Properties"

    - Click the "Advanced System Settings" in the left pane

    - Click the "Advanced" tab

    - Click the "Environment Variables..." button near the bottom of the dialogue box

    - Change the value of the PATH variable in the upper box if it exists there, or in the lower box if it doesn't. Be sure to separate each folder name with a ";" (semicolon) character.
  4. Now it works !

    Thank you Sminlal and Jim !
  5. Best answer selected by synor.
  6. This topic has been closed by Area51reopened
Ask a new question

Read More

Configuration Command Prompt Microsoft Windows 7