A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 7 » Windows 7 Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Is there a keyboard shortcut to close a command window?



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old December 16th 16, 07:48 PM posted to alt.windows7.general
Gijs Van Dijk
external usenet poster
 
Posts: 2
Default Is there a keyboard shortcut to close a command window?

Is there a keyboard shortcut to close a command window?
Ads
  #2  
Old December 16th 16, 07:56 PM posted to alt.windows7.general
VanguardLH[_2_]
external usenet poster
 
Posts: 10,881
Default Is there a keyboard shortcut to close a command window?

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.
  #3  
Old December 16th 16, 08:00 PM posted to alt.windows7.general
Auric__
external usenet poster
 
Posts: 295
Default Is there a keyboard shortcut to close a command window?

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.

--
Think for yourselves and let others enjoy the privilege to do so too.
  #4  
Old December 16th 16, 08:39 PM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Is there a keyboard shortcut to close a command window?

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.


Alt-F4 is also dual purpose.

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

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
  #5  
Old December 16th 16, 09:35 PM posted to alt.windows7.general
Big Al[_5_]
external usenet poster
 
Posts: 1,588
Default Is there a keyboard shortcut to close a command window?

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.


Alt-F4 is also dual purpose.

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

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.


  #6  
Old December 16th 16, 10:18 PM posted to alt.windows7.general
Mike Paff
external usenet poster
 
Posts: 10
Default Is there a keyboard shortcut to close a command window?

On Fri, 16 Dec 2016 12:56:01 -0600, 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.


On Win 7, Alt+F4 won't close a command prompt window,
but Alt+Space, followed by 'c' will.

I don't know how later versions of Windows behave.
  #7  
Old December 17th 16, 12:39 AM 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)."
  #8  
Old December 17th 16, 01:17 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Is there a keyboard shortcut to close a command window?

J. P. Gilliver (John) wrote:
In message , Big Al
writes:
On 12/16/2016 02:39 PM, Paul wrote:


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?)


Wouldn't
it be boring
if all the lines
were the same length ?

We can adjust them for
just the right effect,
to provide emphasis
where it is
needed.

Um,
Paul
  #9  
Old December 17th 16, 01:31 AM posted to alt.windows7.general
Mike Easter
external usenet poster
 
Posts: 1,064
Default Is there a keyboard shortcut to close a command window?

Gijs wrote:
Is there a keyboard shortcut to close a command window?


Since alt-F4 doesn't work, I would use alt-space-C

That alt-space gets the menu with functions and C closes.

--
Mike Easter
  #10  
Old December 17th 16, 01:58 AM posted to alt.windows7.general
Big Al[_5_]
external usenet poster
 
Posts: 1,588
Default Is there a keyboard shortcut to close a command window?

On 12/16/2016 06:39 PM, J. P. Gilliver (John) wrote:
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


Alt-space "C"... Hey that even works in Linux. Woohoo!

  #11  
Old December 17th 16, 02:41 AM posted to alt.windows7.general
VanguardLH[_2_]
external usenet poster
 
Posts: 10,881
Default Is there a keyboard shortcut to close a command window?

"J. P. Gilliver (John)" wrote:

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+Spacebar brings up the Control menu. Even if an app's window
doesn't show the "-" icon at the left end of the title bar to represent
the Control Menu, the window may still have one. For example, File
Explorer does not show an icon to note that there is a Control Menu for
it window. If you signle-click at the left end of the titlebar or press
Alt+Spacebar then you will see the Control Menu show up.

Once the Control Menu is displayed, you can tap the hotkey for a menu
item to select it. So Alt+Spacebar opens the Control Menu for the
window that currently has focus and tapping C select the Close action.

This same trick is how you can move a window around with its borders are
offscreen. Use Alt+Spacebar, then M (for Move), and use the arrow keys
to move the window up/down/left/right.

I have found apps that have no Control Menu so clicking at the right-end
of its window titlebar or tapping Alt+Spacebar doesn't work.

Since both the LeftAlt and RightAlt work for the Alt+F4 hotkey, it
doesn't matter if you are left- or right-handed. I've not seen users
attempting to span the fingers on a single hand from the Alt key and to
the F4 key at the same time. This is prevalently a 2-handed hotkey.
However, I can see how LeftAlt+Spacebar plus C (2 hotkeys instead of 1)
can be easily done with the left hand alone. Rightie stays home.
  #12  
Old December 17th 16, 02:45 AM posted to alt.windows7.general
VanguardLH[_2_]
external usenet poster
 
Posts: 10,881
Default Is there a keyboard shortcut to close a command window?

Mike Paff 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.


On Win 7, Alt+F4 won't close a command prompt window, but Alt+Space,
followed by 'c' will.


Ah yes, correct for the command interpreter's window.
  #13  
Old December 17th 16, 03:52 AM posted to alt.windows7.general
Monty
external usenet poster
 
Posts: 598
Default Is there a keyboard shortcut to close a command window?

On Fri, 16 Dec 2016 19:41:52 -0600, VanguardLH wrote:

Since both the LeftAlt and RightAlt work for the Alt+F4 hotkey, it
doesn't matter if you are left- or right-handed. I've not seen users
attempting to span the fingers on a single hand from the Alt key and to
the F4 key at the same time. This is prevalently a 2-handed hotkey.
However, I can see how LeftAlt+Spacebar plus C (2 hotkeys instead of 1)
can be easily done with the left hand alone. Rightie stays home.


Left thumb on the Alt key and forefinger on the F4 key works for me.
No awkward stretching of fingers involved.
  #14  
Old December 17th 16, 05:01 AM posted to alt.windows7.general
Mike Easter
external usenet poster
 
Posts: 1,064
Default Is there a keyboard shortcut to close a command window?

Monty wrote:
Left thumb on the Alt key and forefinger on the F4 key works for me.
No awkward stretching of fingers involved.


Sticky keys solves/eliminates such maneuvers.

--
Mike Easter
  #15  
Old December 17th 16, 11:52 AM 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 , VanguardLH
writes:
[]
Since both the LeftAlt and RightAlt work for the Alt+F4 hotkey, it
doesn't matter if you are left- or right-handed. I've not seen users
attempting to span the fingers on a single hand from the Alt key and to
the F4 key at the same time. This is prevalently a 2-handed hotkey.
However, I can see how LeftAlt+Spacebar plus C (2 hotkeys instead of 1)
can be easily done with the left hand alone. Rightie stays home.


As Monty says, if you use the thumb, then Alt-F4 is certainly plausible
with the left hand only (though for me still involves a slightly unusual
hand movement - OK, only slightly, but enough so that I find Alt-space C
quicker, the keys all being adjacent).

Note that in UK (and I presume many other layouts), "RightAlt" has a
different function: on most keyboards it's labelled Alt Gr, and I've
never been totally sure what its use is. The name suggests it's for
alternate characters, though it doesn't seem to do that on this (XP)
machine (things like é, the Euro, ö, ½, ...) which I use AllChars for.
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

A man does not have to be an angel in order to be saint.
Albert Schweitzer (1875-1965)
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 09:34 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.