Windows7 command prompt environment DOS command failure

  

Fault phenomenon: I don't know what happened in the past few days, my windows7 enters the command prompt state, no matter what dos command is executed, it prompts: "** is not internal or external The command is not a runnable program or a 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 will solve the problem.

Copyright © Windows knowledge All Rights Reserved