Error in command line "The system cannot find the path specified."

Try the following.

  1. Open the Registry Editor (press +R, type regedit and hit Enter) .
  2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun and clear the values.
  3. Also check HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun.

Source


Your Path must be wrong. The issue is that your command prompt can't find any programs to match what you're entering.

  • From your desktop, rick-click "My Computer" and click "Properties"
  • In the System Properties window, click on the Advanced tab.
  • In the Advanced section, click the Environment Variables button.
  • In the Environment Variables window , highlight the Path variable in the Systems Variable section and click the Edit button.

I don't know the default PATH values you need, but I am willing to bet you have something that isn't right. Post what you have here.