1
I’m trying to create a . bat file to finish and start a service on Windows.
To do this I first finish the process then restart the service
But the command inside the batch file (.bat) does not find the process it is
taskkill /f /im httpdPHP5.exe
But if I use this command inside MS-DOS it finds the process and ends
The full command to restart the service is:
@echo off
taskkill /f /im httdPHP5.exe
net stop Apache2.4_PHP5
net start Apache2.4_PHP5
Actually the p rsrs, but thank you.
– adventistaam
Oops, I hit the wrong finger rs.. Fixed!
– Cleber Griff
I was blinded oh kkk
– adventistaam