Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Command prompt doesnt recognize commands / cant repair windows

31 Jan 2012   #51
writhziden

Windows 7 Home Premium 64 Bit
 
 

Alright, I found a solution (because I put myself in the same situation as you by messing up my registry deleting and adding the Path String Value, so I now think your problem was registry related). Go to Control Panel -> User Accounts and Family Safety -> User Accounts -> Change my environment variables. Click New...
Variable Name: Path
Variable Value: %SYSTEMROOT%\System32
Click OK.
Restart your command prompt. Type ipconfig. Fixed?


My System SpecsSystem Spec
.
31 Jan 2012   #52
Andarkan

windows 7 ultimate x64
 
 

nope still same error btw my path is only %SYSTEMROOT%\System32 atm
My System SpecsSystem Spec
31 Jan 2012   #53
writhziden

Windows 7 Home Premium 64 Bit
 
 

Alright, go back through the registry by clicking Computer at the very top. There should be at least three places where Path exists. You can find them by searching (CTRL+F) for NUMBER_OF_PROCESSORS. Delete all Path String Values. Then add them through the Environment Variables using the path that I posted in my earlier post (added below for convenience).

C:\Program Files\Common Files\Microsoft Shared\Windows Live;%SYSTEMROOT%\System32;%SYSTEMROOT%;%SYSTEMROOT%\System32\Wbem;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\9.0\DLLShared\;"C:\Program Files\Java\jre6\bin"
My System SpecsSystem Spec
.

31 Jan 2012   #54
Andarkan

windows 7 ultimate x64
 
 

ive searched for NUMBER_OF_PROCESSORS and it only find one string in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
My System SpecsSystem Spec
31 Jan 2012   #55
writhziden

Windows 7 Home Premium 64 Bit
 
 

Quote   Quote: Originally Posted by Andarkan View Post
ive searched for NUMBER_OF_PROCESSORS and it only find one string in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
Did you start from the top at Computer?
My System SpecsSystem Spec
31 Jan 2012   #56
Andarkan

windows 7 ultimate x64
 
 

ya all windows were closed only my computer and then i searched for NUMBER_OF_PROCESSORS and it opened the environment folder
My System SpecsSystem Spec
31 Jan 2012   #57
writhziden

Windows 7 Home Premium 64 Bit
 
 

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Session Manager\Environment
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
My System SpecsSystem Spec
31 Jan 2012   #58
Andarkan

windows 7 ultimate x64
 
 

deleted three path string values and then added path via environment variables and pasted that path u gave before.but still same error
My System SpecsSystem Spec
31 Jan 2012   #59
writhziden

Windows 7 Home Premium 64 Bit
 
 

Restarted command prompt after setting the Environment Variables, I assume?

What happens if you type
path=echo %path%
in the command prompt? Do commands work again?
My System SpecsSystem Spec
31 Jan 2012   #60
Andarkan

windows 7 ultimate x64
 
 

well my command prompt wasnt running when i did those changes so it means i restarted ? and when i type that commands work ıncludin exit
My System SpecsSystem Spec
Reply

 Command prompt doesnt recognize commands / cant repair windows




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Command Prompt Not recognizing commands.
Hi, I'm super sad because I use CMD a lot but its not recognizing regular commands. I have no idea what to do because im more familiar with Terminal on a Macintosh. Thanks.:eek::D
General Discussion
Command prompt not recognizing commands
Hello. It seems as if my command prompt will not let me do any simple system commands such as ping, ipconifg, etc. And it will also not let me use commands for my compiler. The paths are set properly in the environment variables, but it still does not work. See the screencap below: ...
General Discussion
Start Command Prompt and automatically execute a few commands
I am learning a programming language, and I frequently use command prompt to compile source codes, but every time I start command prompt I need to manually cd to the correct directory, and then I like to run cls to keep the window clean. I have looked around, but I'm not sure how to phrase a google...
Software
A file in Desktop cant be deleted. Command prompt doesnt recognize it.
The files name is "Music Place", which is an application from Toshiba. I can not find it in the desktop folder and all the programs that i have used are not able to recognize this file as existing in the desktop. Ive tried to delete it in safe mode but it didnt work. Ive also tried to delete it...
General Discussion
chkdsk in start-up repair versus in Windows Command Prompt
I recently had a laptop crash (Windows 7 Home Premium x64) during a windows update, had to go through lengthy process which ultimately resulted in need to do system recovery from protected partition on an Acer laptop. One of the interim steps i had tried was to run chkdsk from a command prompt...
Performance & Maintenance
Running command prompt commands elsewhere...
I am trying to configure RightMark Clock Utility to execute the "start" command when the power source for my computer changes. For example, I would want to run this: start /MIN "" "C:Path\to\Program" I am choosing the start command because it gives me the option to use the /min parameter. ...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:22.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App