I get this strange error when I try to run a php file from anywhere in the system:
Could not open input file: drush.php.
…except for its own directory. When I try invoke it from its own directory, no problem — everything works!
Is there a permissions issue here? I looked under security tab in the properties for the file, but every user was given all the permissions that are available.
So I don't get why Windows is not able to open this file from any other directory except where it is located.
Best Answer
It could be a "working directory" issue. Have you tried making a shortcut to it on the desktop, then right-click, properties, and change "start in" to the folder where the php file is?