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

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,953 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,953 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