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: CMD doesn't recognize commands from run dialoge box - error

03 Feb 2012   #11
Lol Froob

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by writhziden View Post
Quote   Quote: Originally Posted by Lol Froob View Post
Quote   Quote: Originally Posted by writhziden View Post
It is likely due to your environment variables. Here is what I suggest:
  1. Click Start Menu
  2. Type sysdm.cpl into the Search programs and files (do not hit enter)
  3. Right click sysdm.cpl and select Run as administrator
  4. Go to Advanced
  5. Click Environment Variables...
  6. Double click Path from the System Variables list (after scrolling down)
  7. Select everything in the box Variable Value:
  8. Hit CTRL + X to cut the values, leaving it blank (you may have to put a space in), and hit OK.
  9. Hit OK again to close Environment Variables to reset the Path to nothing.
  10. Now, click Environment Variables... again.
  11. Double click Path in System Variables (after scrolling down again)
  12. Paste the values back into the path Variable Value by hitting CTRL + V.

Does command prompt work after the above process?

If not, do steps 1-8, but use CTRL + C instead of CTRL + X (do not leave the path blank this time in other words), and paste the path in your next post. You may be missing important variables.
Didn't work, and all I have in Path is
Code:
;C:\Program Files\Java\jdk1.7.0\bin
Replace your path with:
Code:
%SYSTEMROOT%\System32;%SYSTEMROOT%;%SYSTEMROOT\System32\wbem;C:\Program Files\Java\jdk1.7.0\bin
Does the command prompt now accept the normal commands?
Thanks a million! It worked!


My System SpecsSystem Spec
.
03 Feb 2012   #12
writhziden

Windows 7 Home Premium 64 Bit
 
 

No problem. Glad your environment is now set up properly. Happy computing!
My System SpecsSystem Spec
04 Feb 2012   #13
Lol Froob

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by writhziden View Post
No problem. Glad your environment is now set up properly. Happy computing!
Any idea of how this changed or what happened. The environmental variables are one of the few things I am not very familiar with on windows.
My System SpecsSystem Spec
.

04 Feb 2012   #14
writhziden

Windows 7 Home Premium 64 Bit
 
 

Most of the time, these things change due to registry corruption or due to users running automated registry cleaning tools.

Also, I realized one of my variables in the path was incorrect. %SYSTEMROOT\System32\wbem should be %SYSTEMROOT%\System32\wbem
I left out the right % in SYSTEMROOT (which is your Windows directory). While it will not affect some command line commands, it may affect others or other programs. Make sure it is correct in your environment.
My System SpecsSystem Spec
04 Feb 2012   #15
Lol Froob

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by writhziden View Post
Most of the time, these things change due to registry corruption or due to users running automated registry cleaning tools.

Also, I realized one of my variables in the path was incorrect. %SYSTEMROOT\System32\wbem should be %SYSTEMROOT%\System32\wbem
I left out the right % in SYSTEMROOT (which is your Windows directory). While it will not affect some command line commands, it may affect others or other programs. Make sure it is correct in your environment.
Ah ok, no doubt I'll have to do my own researching too. Thanks again!

EDIT: Just realized you helped me with my itunes BSOD also, you are a great member!
My System SpecsSystem Spec
04 Feb 2012   #16
writhziden

Windows 7 Home Premium 64 Bit
 
 

You're most welcome. :)
My System SpecsSystem Spec
Reply

 CMD doesn't recognize commands from run dialoge box - error




Thread Tools




Similar help and support threads
Thread Forum
Win-7 Pro Doesn't recognize:
I installed a second DVD/CD Optical Drive (Samsung Super Writemaster) in my Dell Optiplex 780 and Windows 7 Pro doesn't (will not) recognize the presence of the new drive. I reinstalled the OS disc and did a CHKDSK on it yesterday. No change.The drive is hooked up with a new SATA cable to the SATA2...
Hardware & Devices
Motherboard doesn't recognize HDD, boot error.
Hello guys, I have a PC i use for gaming, recently it wouldn't boot and the error: Reboot and select proper boot device or insert boot media in selected boot device and press a key. I tried the HDD on another PC and it works (pc won't boot but it tries to repair OS, probably due to...
Hardware & Devices
How do I reformat a HDD that W7 doesn't recognize?
I have an external 750GB HDD that I bought to to store programming from my Dish Network Receiver. The receiver software reformatted the virgin HDD to some proprietary system used by Dish. I think someone said it's a Linux based siystem. I now want to reformat it for use with my Windows 7...
Hardware & Devices
Command prompt doesnt recognize commands / cant repair windows
i cant run any commands in command prompt.i have checked a lot of stuff on inet to solve like paths @environment variables etc but i still couldnt solve it.i thought maybe its cuz a system file is missing made a repair disc but couldnt run sfc via command prompt at boot because i got this error...
BSOD Help and Support
Repair doesn't Recognize my Win 7 OS
I recently came home and my computer was on the black start-up screen. It gave the error status: 0xc000000F, File:\boot\BCD. I tried to run the repair disk, but it doesn't recognize the Win 7 OS. It does see the old Vista OS. I believe this occurred after a recent Windows update (set to automatic)....
BSOD Help and Support


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 10:29.
Twitter Facebook Google+