Kill Process - Xpadder

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
MrJunky
Posts: 5
Joined: 18 Jul 2015 16:16

Kill Process - Xpadder

#1 Post by MrJunky » 28 Jul 2015 11:42

I am trying to make a batch file (.bat) that when it runs it will kill my Xpadder program. I don't want it to just kill it as in click the red X in the top right corner but actually shut it down. If I were to click the red X in to top left corner it will exit the window but appear in my notifications panel. I want it to be removed from my notificaions panel also when I run the batch file. I tried TASKKILL /F /IM "xpadder.exe" and it doesnt work.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Kill Process - Xpadder

#2 Post by foxidrive » 28 Jul 2015 13:23

MrJunky wrote:TASKKILL /F /IM "xpadder.exe" and it doesnt work.


What error did you get on the console?

MrJunky
Posts: 5
Joined: 18 Jul 2015 16:16

Re: Kill Process - Xpadder

#3 Post by MrJunky » 29 Jul 2015 18:11

I get this eoor

Code: Select all

ERROR: The process "Xpadder.exe" with PID 7636 could not be terminated
Reason: Access is denied

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Kill Process - Xpadder

#4 Post by foxidrive » 29 Jul 2015 22:40

You need to run the command as administrator.

MrJunky
Posts: 5
Joined: 18 Jul 2015 16:16

Re: Kill Process - Xpadder

#5 Post by MrJunky » 30 Jul 2015 11:41

It works when I run it as an administrator! Is there a way to make it so it doesn't open a console window and run as an administator when I click run? I know if it was a .exe file I could go into the file properties and check off the box to make it run as an administrator all the time? Thats all I need to do so when I am playing game in fullscreen the console window wont mess up my fullscreen mode and when it gets launched it will launch as an administrator.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Kill Process - Xpadder

#6 Post by foxidrive » 30 Jul 2015 20:41

Right click the icon and check the properties where you can set it to run minimised, and also as administrator.
You'll only know by testing it, if it is adequate for what you need re your game.

Post Reply