you were right. windows XP home edition doesnt have taskkill so l downloaded a program called pskill.exe and it works grouse. For those of you that would like to know ,this is what l did.
put the pskill.exe file into c:\ drive , and then made a bat file called pskill.bat :
C:\pskill -t ppjoykey.exe
then l edited my mamewah config file for my PC emulator (PC Games.ini)
under:
post_emulator_app_commandlines C:\arcade\pskill.bat {nodosbox}{safelaunch}{nowait}{autoquit}
and thats it guys, it works grouse . Now when l start my pc games [virtua tennis], mamewah activate my bat file to start ppjoykey.exe first. then when l exit the game mamewah activates my other bat file to close ppjoykey.exe.