View Single Post
  #7  
Old December 16th 16, 11:39 PM posted to alt.windows7.general
J. P. Gilliver (John)
external usenet poster
 
Posts: 5,291
Default Is there a keyboard shortcut to close a command window?

In message , Big Al
writes:
On 12/16/2016 02:39 PM, Paul wrote:
Auric__ wrote:
VanguardLH wrote:

Gijs Van Dijk wrote:

Is there a keyboard shortcut to close a command window?
A really old keyboard shortcut is Alt+F4 which exits the application for
whatever window has the current focus.

For some programs, Alt+F4 will only close the current window. It's non-
standard, but some programs do it that way.

It may or may not be to do with my being left-handed, but I find
alt-space then C easier than Alt-F4 - OK, it's two strokes (three keys)
rather than one (two), but less of a stretch in a direction I don't use
much. The alt-space sub-menu (in most cases, does the same as clicking
on the top _left_ icon in a window) is useful for several things; it's
one of the things that's remained unchanged (whisper this fact: if
Microsoft hear, they'll change it!) from very early Windows.

Alt-F4 is also dual purpose.

If a window has the focus, the
keyboard shortcut applies to a
single program.


(Paul, I've often wondered about your short lines, and this post started
with three _very_ short ones; would you care to comment?)

If you click the desktop, then
do Alt-F4, it offers the shutdown/restart
menu. And this option is important on OSes
like Windows 10, where the "regular" shutdown
icon can disappear. If you know about alt-F4,
it gives a second means to shut down (without
resorting to Command Prompt).

Paul

I moved 2 months ago and just put my desktop together and forgot to
plug in the monitor so when I turned it on I was blind. Seems Alt-F4
2 times shuts the machine down. Maybe I hit a return in between, not
sure, but it did shutdown. Kinda glad, I hate forcing a power fail.


I much prefer keyboard for a quick shutdown. Up to Windows 98 (not sure
about Me), the sequence was "Win, U, Enter"; in XP, "Win, U, U"; for 7,
it depends on how you've set up your start menu and the power-off
"button" (I've changed it to "Restart" for my works machine). IIRR (I'm
not on my 7 machine ATM), 7's sequence _can_ be something like "Win, up,
right, enter". All of these _can_ be interrupted by _some_ prog.s that
haven't been closed; they'll usually close eventually, but in the
less-well-designed ones you _can_ lose (or even corrupt) things as the
OS terminates them as it shuts down.
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

Anybody can garble quotations like that -- even with the Bible... Er... "And he
went and hanged himself (Matthew 27:5). Go, and do thou likewise (Luke 10:37)."
Ads