Windows CMD.exe “The system cannot find the path specified.”

前端 未结 3 2111
时光取名叫无心
时光取名叫无心 2020-12-01 14:32

Solved by restoring Windows to previous state

The message (The system cannot find the path specified.) shows...

1) When i open new CMD (Win+R => cmd). It

相关标签:
3条回答
  • 2020-12-01 15:13

    I think you should try this out ! I had the same issue and solved it like this :

    ok type : cd\windows\system32 After that you will see this: System32/: Type what you want (ex:ipconfig): System32: ipconfig Then that should do it ! :)

    0 讨论(0)
  • 2020-12-01 15:16

    The problem is that some program has been set to autorun when you run cmd.exe. In my case it was ANSICON that was installed... and then I moved the file without properly uninstalling.

    I found a solution in this blog post:

    http://carol-nichols.com/2011/03/17/the-system-cannot-find-the-path-specified/

    The short version is to find

    HKCU\Software\Microsoft\Command Processor\AutoRun

    and clear the value.

    0 讨论(0)
  • 2020-12-01 15:17

    This actually looks like a startup error with PHP, not with your code. Does

    php -r "echo 1;"

    also throw the same error? If so, your php.ini file or an include may be pathed incorrectly.

    php -i

    should give you more info.

    0 讨论(0)
提交回复
热议问题