how to run php script from batch file
问题 I have used this article php script which named upload_.php and i have successfully developed a windows service in C# which is running fine. Now in theory the service will run every hour and execute a batch file (task.bat). if i run the upload_php file directly it works fine now i think the problem is in task.bat file. here is my code Task.bat Code @echo off cd\ set path=C:\xampp\php; cd "C:\xampp\htdocs" php import.php exit When service runs it execute task.bat file but php script dont