Command Line Working Directory Problem

How come when I run git or composer from the command line tool, it appears the working directory is the project, but I'm trying to run a script like this: > php example.phpCould not open input file: example.phpBut this works:> php C:\inetpub\FTP\example.phpProcess finished with exit code 0 at 23:36:47.Execution time: 398 ms.

Quite strange, because I can't reproduce it. Maybe it was a just created file that hasn't been saved to file system yet?

No, it was definitely saved, but now I can't duplicate the problem either.

Please sign in to leave a comment.