Re: Firefox portables Quote:
Originally Posted by empirestate Copy the code below and paste it in Notepad and save it as .bat file. Microsoft changed their policy on running batch files so you need to right click and run this as Admin to make it work. If you want to add programs to kill, just add /im [program name]. Hope this helps. Tested it on Windows 10 and Windows 7 today. Edit the code as you see fit.
@echo off
taskkill /f /im firefox.exe /im chrome.exe /im iexplore.exe
exit | THANKS. Can beat the DOS coding.
It works faster than the .exe program I made, so now I am using your code
For my own setup, I have modified your taskkill line so that it occures 3 times just to make sure all instances are closed as in the past, for some odd reason, some instances are still active in the task manager.
Also, in CCleaner business addition, there is some nice extra options and one if the is that you can enable a small popup that auto disappears to let you know the browser is cleaned and it only kicks in if all instances of that browser are closed/killed, so this helps as a visual confirmation that all is good - this is for my setup though so that option in CCleaner might not be suitable for your needs.
Last edited by easy.bake.oven; 05-13-2016 at 04:56 AM.
|