How to Close Windows With Alt + Spacebar + C
One option for closing windows with keyboard shortcuts is as follows:
How to Close Windows With Fn + Alt + F4
Another option is to select the window you want to close and then press Fn+Alt+F4. You’ll probably need two hands for this one.
How to Close Tabs With CTRL + W
The Ctrl+W shortcut only closes the current file you’re working on, but it leaves the program open. This feature can be handy if you want to leave the desktop program open but get rid of all the files you’re working on in quick succession. Ctrl+W works in most browsers too, so you can close the current tab you’re looking at without taking your hands off the keyboard. If you use Ctrl+W when only one browser tab is open, then the program window will close.
How to Select Open Windows With Alt + Tab
It’s possible to select an open window without using the mouse. Press Alt+Tab to cycle through your open windows. Use this shortcut in conjunction with the other shortcuts to close all open windows without taking your hands off the keyboard.
How to See Your Desktop With Windows Key + D
Sometimes you don’t actually want to close all those windows; what you really want to do is just look at your desktop. To quickly access your desktop, press the Windows Key+D. Use the same shortcut to bring back all your windows.
How to Close a Group of Windows With the Mouse
When you have numerous files open in the same program, like a bunch of emails in Outlook, Word files, or several spreadsheets in Excel, you can close all of them at once using the mouse. Right-click the program in the Windows taskbar and select Close all windows (or Close Group in older versions of Windows).