Omniferum Posted February 28, 2011 Report Share Posted February 28, 2011 (edited) Just thought i'd share something that I use seeing as I have a LOT of apps this helps me as I don't have to manually find and close everything. This should work for XP and upwards. All this does is exit all the programs that Ketarin would update. To make it work for you, just change <putyourpathorportabledriveletterhere> to whatever your usual path ketarin installs its programs to. My install path is a global variable so it is easier for me. For example you might dump it all to \KetPrograms\ Use the below command (make it into a .bat file or put it in the execute before updating menu option) for /f "tokens=1 delims=." %a in ('wmic process get Description^,ExecutablePath^,CommandLine ^| findstr .exe ^| findstr <putyourpathorportabledriveletterhere> ^| findstr /V cmd.exe ^| findstr /v explorer.exe ^| findstr /v notepad.exe ^| findstr /v findstr') do taskkill /f /im "%~na.exe" Edited May 28, 2011 by Omniferum Link to comment Share on other sites More sharing options...
shawn Posted March 17, 2011 Report Share Posted March 17, 2011 You could also use "nircmd killprocess [processnames]" http://nircmd.nirsoft.net/killprocess.html Or nircmd closeprocess: http://nircmd.nirsoft.net/closeprocess.html Link to comment Share on other sites More sharing options...
floele Posted April 10, 2011 Report Share Posted April 10, 2011 Doesn't Ketarin have such a functionality built in actually? Link to comment Share on other sites More sharing options...
Omniferum Posted April 11, 2011 Author Report Share Posted April 11, 2011 I do not know how Ketarin determines the process to kill, mine is just based on whatever process is utilizing the install path defined in Ketarin. I saw the feature but don't really know its implementation Link to comment Share on other sites More sharing options...
floele Posted April 12, 2011 Report Share Posted April 12, 2011 You can define which process to close. Ketarin will then try the most "soft" method of closing the process. Link to comment Share on other sites More sharing options...
Omniferum Posted April 12, 2011 Author Report Share Posted April 12, 2011 Ah, so you have to predefine it. Fair enough. I'll stick with my method, going through my odd 150+ apps just to define process' to terminate is a tad too time consuming. Plus with mine it finds which process to kill for me, may not terminate it in the nicest way perhaps. Link to comment Share on other sites More sharing options...
CybTekSol Posted May 28, 2011 Report Share Posted May 28, 2011 @Omniferum, Does your post of the batch file need 'code' tags? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now