View Full Version : how do i quickly close all programs that are open?
2Dee
January 30th, 2006, 09:38 PM
Hello.
I need some help, how do I quickly close all windows that are open, I'm guesing this can be done with a batch file, and then i can predefine a hotkey to load the batch file. But i'd also want to make exceptions so not all windows are close, anyone knowledgeable on how this can be acommplished? I don't expect to get help, since most of my questions go unanswered, but I'd really appreciate it.
ClapYourHands
January 30th, 2006, 10:03 PM
Pull the plug on your computer.
Snowie
January 30th, 2006, 10:06 PM
See if this is of any help
http://www.annoyances.org/exec/forum/win2000/1072177356
Snowie
January 30th, 2006, 10:12 PM
A real quick search came up with this...SHAREWARE
http://www.kratronic.com/tools/window-closer/
Thats my contribution.......SeeYa
2Dee
January 30th, 2006, 10:18 PM
Is there any feasible solution? did you guys even read my post? i'm not looking at shareware, or unpluging my computer, and those keyboard shortcuts didnt work.
Tassie_Devils
January 30th, 2006, 10:21 PM
Hi... :)
What 'windows' are we talking about? Browser or you simply mean multiple programs running at once?
I don't know about a batch file, but if you have have to go to the trouble of just selecting which to close and keep certain others open, then surely the purpose is defeated. :-\
Having to hit a hotkey to start closing would be no different then simply hitting CTRL W for windows or ALT F4 keys [windows/programs] as the following windows/programs will keep jumping into focus as each previous is closed, which can be easily done with one hand while other is on mouse deselecting any you want kept.
another tip: Holding the CTRL key down, left click on all the unwanted windows/programs showing on task bar [this will group them], and then right click and select CLOSE GROUP, this way, you do NOT click on the ones you want kept open and only the ones CTRL/LeftClick will be selected to be then group closed.
personally I simply just keep hitting ALT/F4 with left hand, keeping right on mouse and if a window moves in focus I do not want closed, just click on the next one I do want.
I cannot think of any program/file to do what you want, as never had to need to use it.
have a Google on it, maybe something in there.
Cheers, TAS
PS: You may find something in here: http://www.irt.org/script/window.htm See FAQ 1682 if you are familiar with scripting. ;) Don't know if this will help in your particular instance.
Luck. :)
Tassie_Devils
January 30th, 2006, 10:25 PM
{QUOTE-> Is there any feasible solution? did you guys even read my post? i'm not looking at shareware, or unpluging my computer, and those keyboard shortcuts didnt work. <-QUOTE}
hey whoa there.... snowie gave a reply while I was typing mine, now if this did not work then a quote like "did you guys even read my post?" which sounds very patronising, does not help. ok?
try those things I gave you, then, if you do not have a satisfactory outcome, post back saying it did not work, but 'thanks' for the advice so far. ;)
TAS
Snowie
January 30th, 2006, 10:31 PM
An you wonder why your posts go un-answered...........
sdfsdf
January 30th, 2006, 10:39 PM
I did not appreciate the first comment I assume he was just being sarcastic, but i'm not in the mood for sarcasm. And because practically every forum I've been too, users never bother to read up for a proper solution, I'm so tired of getting my questions unanswered.
okay I do appreciate the suggestions, you (http://pcsupport.about.com/od/quicktips/qt/closeallwindows.htm) and snowie (http://www.annoyances.org/exec/forum/win2000/1072177356) gave me, but none of them really aided my situation.
I guess this is the time where I get no more replies and my question slowly goes down the page. :|
Tassie_Devils
January 30th, 2006, 10:43 PM
Fair enough, it's not what you are looking for then!
that's about all I can tell you. You must really want to close windows super fast simultaneously if ALT/F4ing is too slow or the Close Group tip on task bar does not appeal to you.
Good luck in your search.
TAS
2Dee
January 30th, 2006, 10:43 PM
Yes, I've been dying to know why my posts go un-answered...........
whatever.
4334
January 30th, 2006, 10:46 PM
You can close and open applications with a .bat file.
4334
January 30th, 2006, 10:53 PM
for instance - edit this and save as off.bat
taskkill /IM yztoolbar.exe /IM ePrompter.exe /IM MBM5.exe /IM Trillian.exe /F
cls
ErikAlbert
January 30th, 2006, 11:04 PM
Suppose you have a MS Word .doc file open, which isn't saved yet.
Which decision has the "super close button" (if there is one) to make ?
Closing with saving or without saving ?
4334
January 30th, 2006, 11:22 PM
Obviously you save it before hitting the superoff.bat button
Peter2150
January 30th, 2006, 11:28 PM
{QUOTE-> Hello.
I need some help, how do I quickly close all windows that are open, I'm guesing this can be done with a batch file, and then i can predefine a hotkey to load the batch file. But i'd also want to make exceptions so not all windows are close, anyone knowledgeable on how this can be acommplished? I don't expect to get help, since most of my questions go unanswered, but I'd really appreciate it. <-QUOTE}
2dee.
I have to admit your question doesn't make much sense to me either. Hate to say it but my first reaction was pull the plug also. How many windows do you have open that just clicking the window x box is that big a problem.
Maybe the reason you aren't getting any good answers is that your question doesn't make sense. What is it you are doing, and why do you need this. An explanation might help get you a better answer.
Pete
ErikAlbert
January 30th, 2006, 11:29 PM
{QUOTE-> Obviously you save it before hitting the superoff.bat button <-QUOTE}
In that case I prefer to close my windows one by one. So I can see which windows I'm closing.
Mrkvonic
January 31st, 2006, 02:05 AM
Hi,
A question: in what manner do you want them closed?
Do you want to force close them, without regard to your work, or do you just need to temporarily hide them from someone (for the sake of privacy) or are you too lazy to close them one by one?
Some answers:
Privacy - you can create a shortcut to a screensaver (with password).
Laziness - no advice there.
Force close - you can write a .bat as mentioned or, open Task Manager, go to applications tab, select all applications and click End Task.
Mrk
Infinity
January 31st, 2006, 03:15 AM
{QUOTE-> Hi,
A question: in what manner do you want them closed?
Do you want to force close them, without regard to your work, or do you just need to temporarily hide them from someone (for the sake of privacy) or are you too lazy to close them one by one?
Some answers:
Privacy - you can create a shortcut to a screensaver (with password).
Laziness - no advice there.
Force close - you can write a .bat as mentioned or, open Task Manager, go to applications tab, select all applications and click End Task.
Mrk <-QUOTE}
Laziness - ask someone to close them for you ;D
4334
January 31st, 2006, 03:17 AM
{QUOTE-> In that case I prefer to close my windows one by one. So I can see which windows I'm closing. <-QUOTE}I don't. I used to game often and I had an off batch file which turned off my antivirus ect. And an 'ON" bat which turned them all back on when finished gaming.
NICK ADSL UK
January 31st, 2006, 08:17 AM
IE New Window Maximizer is ideal for those who need to play around with maximizing of windows or for closing of IE via a shortcut and can be found here.
http://www.jiisoft.com/iemaximizer/download.asp
{QUOTE-> IE New Window Maximizer
This program will automatically maximize new Internet Explorer and Outlook Express windows for you. It includes a function for hiding/closing all IE windows with a userdefined hotkey. It's also possible to open new IE windows and automatically have them sent to the background. The program is also capable of closing popup windows. <-QUOTE}
ErikAlbert
January 31st, 2006, 09:57 AM
{QUOTE-> I don't. I used to game often and I had an off batch file which turned off my antivirus ect. And an 'ON" bat which turned them all back on when finished gaming. <-QUOTE}
OK 4334. I guess everybody has his own needs. I'm not a gamer, I work mainly with MS Office.
Sometimes I close documents and spreadsheets with saving, sometimes without saving and these windows are often mixed with a bunch of open websites. If some websites were hard to find, I like to store the link first.
So closing one by one is safer for me, but in your case I assume it's much easier to have an OFF/ON.bat. :)
P.S. : I like the proposed solution in this thread, if you are too lazy.
Peter2150
January 31st, 2006, 01:18 PM
I notice the original poster 2dee has never come back. Wonder if we had a troll at work, as opposed to someone really needing help?
beetlejuice69
January 31st, 2006, 02:15 PM
{QUOTE-> I notice the original poster 2dee has never come back. Wonder if we had a troll at work, as opposed to someone really needing help? <-QUOTE}
I vote for troll. ;)
2Dee
January 31st, 2006, 11:48 PM
{QUOTE-> for instance - edit this and save as off.bat
taskkill /IM yztoolbar.exe /IM ePrompter.exe /IM MBM5.exe /IM Trillian.exe /F cls <-QUOTE}
So how to you do this for lets say firefox.. or an opened folder? because i tried changing it to /IM firefox.exe and it does not work... :(
GUI_Tex
February 18th, 2006, 11:32 PM
Here's an easy way..
Download Nircmd, www.nirsoft.net/utils/nircmd.html, put it into a safe spot.. C:\WINDOWS, now you can make a batch file e.g.
@echo off
cls
:Start
rem kill processes
start "" "C:\WINDOWS\nircmd.exe" nircmd.exe killprocess firefox.exe
start "" "C:\WINDOWS\nircmd.exe" nircmd.exe killprocess iexplorer.exe
start "" "C:\WINDOWS\nircmd.exe" nircmd.exe win close class "CabinetWClass"
:End
It doesnt care where the program is located, so you can speficy, if you have zone alarm you want to close out, you would put zlclient.exe in replace of firefox, or if you want to close all ie windows iexplorer.exe
I shouldn't be giving all my secrects so easy ;D ;D ;D
[edit] It can close open folders, and anything else specified.
vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.