Solved

Windows 8 CMD commands not working

Posted on 2013-06-17
4
444 Views
Last Modified: 2013-06-19
For some reason on my Windows 8 machine stopped accepting commands from CMD if opened through the start menu or shortcut. Every command I type it will state, "command not recognized" even ones such as ping. Everything looks good, I mean it's under the C: windows > system32 path.

If I search for CMD the system32 folder and open it directly that way, it will accept commands. Yet nothing has changed, it's still the normal correct path when opening it up. I have admin privileges when I'm opening it up too just to clarify.

If I right click the CMD from the System32 folder and create a shortcut on the desktop, it creates it, but it still has the issues. The onyl way it works is opening the origional CMD file in the system32 folder.

Why would this be? I'm quite tech savvy and don't see any reasons why this would be happening. I use CMD a lot, and like a a quick way to open it other than searching for it in the system 32 folder every time.
0
Comment
Question by:Pancake_Effect
  • 2
  • 2
4 Comments
 
LVL 54

Accepted Solution

by:
McKnife earned 500 total points
ID: 39253728
Hi.

This sounds as if the variable path is corrupted, missing or modified.
Please edit the system variable path to be
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SystemRoot%\System32\Windows System Resource Manager\bin;
0
 
LVL 4

Author Comment

by:Pancake_Effect
ID: 39253747
Where do I edit the system variable paths?
0
 
LVL 54

Assisted Solution

by:McKnife
McKnife earned 500 total points
ID: 39253772
Hit the windows key together with the pause key and a windows will pop up. Select adv. system settings and at the bottom you'll find "env. variables". The variable is named "path". It's a system variable so you will find it in the lower half of the next dialogue.
0
 
LVL 4

Author Closing Comment

by:Pancake_Effect
ID: 39261093
Worked great! Thank you very much! For some reason I had Java as the path, think it was when I was messing with something in regards to minecraft a while back.

Again thanks for the help!
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Detailed instructions on how to install an Access add-in in recent versions of Office and Windows (with screen shots)
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question