How to solve the invalid DOS command in the Win7 command prompt environment?

  
                  

Fault phenomenon: I don’t know what happened in the past few days. After entering the command prompt, my windows7 will prompt no matter what dos command is executed: “** is not an internal or external command, nor is it a runnable program or Batch file." Is this phenomenon poisoned?
Solution: Not poisoned, but some software modified the value of path.

You can try this: Right click on My Computer→Properties→Advanced System Settings→Environment Variables to see what is inside the path value? For example, some software will be changed to c:\\\\programfiles(x86)\\\\stormii\\\\codec;c:\\\\programfiles(x86)\\\\stormii, and the real system file address will be deleted.

Now you add %systemroot%\\\\system32;%systemroot% to the value of path; this solves the problem.

Copyright © Windows knowledge All Rights Reserved