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

ASAP HELP Command Prompt: Won't recognize commands.

URGENT ASAP Registry CMD

  • Please log in to reply

#1
AmourDoll

AmourDoll

    New Member

  • Member
  • Pip
  • 1 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.

 

Running in elevated cmd as well

 

I already ran an echo and this was the result

oWyVp7Z.png

Any help fixing would be great. Thanks.

 

2KCxfWp.png


  • 0

Advertisements


#2
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,974 posts
Hi :welcome:
 
Don't know why but the problem you have is common around here...
 
Before trying to fix that I need to see a log.
  • download CheckPath.cmd script and save it to the Desktop
  • right click CheckPath.cmd, then on the context menu click Run As Administrator
  • when the script ends Notepad will open showing a log CheckPath.txt also saved on the Desktop
  • Copy & Paste the full log to your topic

  • 0

#3
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,091 posts

This part of the batch files doesn't work for me:

 

set KEY=HKEY_CURRENT_USER\Environment
echo. >> %LOG%
echo :: Reading User PATH from Registry... >> %LOG%
reg query "%KEY%" /v Path >> %LOG% 2>&1

 

 

Yields:

 

:: Reading User PATH from Registry...

ERROR: The system was unable to find the specified registry key or value.

 

 

This is what HKEY_CURRENT_USER\Environment has:

 

HKEY_CURRENT_USER\Environment
    _NT_SYMBOL_PATH    REG_SZ    SRV*G:\Symbols*http://msdl.microsof...ownload/symbols
    devmgr_show_nonpresent_devices    REG_SZ    1
    TEMP    REG_EXPAND_SZ    %USERPROFILE%\AppData\Local\Temp
    TMP    REG_EXPAND_SZ    %USERPROFILE%\AppData\Local\Temp
    xpath    REG_SZ    d:\x2

 

 


  • 0

#4
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,974 posts

Hi Rich,

 

This part of the batch files doesn't work for me:

 

set KEY=HKEY_CURRENT_USER\Environment
echo. >> %LOG%
echo :: Reading User PATH from Registry... >> %LOG%
reg query "%KEY%" /v Path >> %LOG% 2>&1

 

 

Yields:

 

:: Reading User PATH from Registry...

ERROR: The system was unable to find the specified registry key or value.

 

 

This is what HKEY_CURRENT_USER\Environment has:

 

HKEY_CURRENT_USER\Environment
    _NT_SYMBOL_PATH    REG_SZ    SRV*G:\Symbols*http://msdl.microsof...ownload/symbols
    devmgr_show_nonpresent_devices    REG_SZ    1
    TEMP    REG_EXPAND_SZ    %USERPROFILE%\AppData\Local\Temp
    TMP    REG_EXPAND_SZ    %USERPROFILE%\AppData\Local\Temp
    xpath    REG_SZ    d:\x2

 

 

 

It's ok and expected. It's possible to have the PATH defined also at the user level if it exists the system will combine the two the global and the added by the user.


  • 0

#5
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,091 posts

Okay, thanks.


  • 0






Similar Topics


Also tagged with one or more of these keywords: URGENT, ASAP, Registry, CMD

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