Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

Killing Process from PStart

fatmcgav - November 2, 2006 - 6:13pm

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


( categories: )