xampp - PHP Command line don't execute command

one text

I installed xampp and put the php folder in my environment variable.

When I execute the "php filename.php" command, it always opens the interactive mode, it's the same with wamp.

Could someone help me? thank you

Source