You are here

Killing Process from PStart

1 post / 0 new
fatmcgav
Offline
Last seen: 16 years 1 month ago
Joined: 2006-11-01 17:05
Killing Process from PStart

Hi There,

I'm trying to kill a process when i close PStart. Now I've got it set up so that it runs the Xampp Stop Script on close, but i also want to run a batch file to kill the Xampp Control Panel (Xampp-control.exe) on exit.

Now i created this file:
@echo off
echo Killing Xamp Control Panel
taskkill /f /im xampp-control.exe

However it doesnt work. If i run that command from a command prompt, it runs fine though...

Now i'm a complete newb at this - any ideas how to make it work? Prob somet simple i've missed...

Cheers
Fatmcgav