Cmd Key Bindings - Ctrl-D to quit cmd?

  • humbletech99
  • Proficient
  • Proficient
  • User avatar
  • Joined: Mar 09, 2006
  • Posts: 300
  • Status: Offline

Post April 28th, 2008, 1:10 am

I'd like to map the key combination Control-D to quit cmd.

Does anyone know how to define what key combinations do in cmd?

For example Control-C kills the current program in cmd and returns the prompt, so where is this defined and how can I map other key combinations to things like quitting out of cmd?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 28th, 2008, 1:10 am

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post April 28th, 2008, 7:37 am

Alt + ESC

//never mind. That moves to the next open application.
I meant CTRL + F4
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • humbletech99
  • Proficient
  • Proficient
  • User avatar
  • Joined: Mar 09, 2006
  • Posts: 300
  • Status: Offline

Post April 28th, 2008, 7:40 am

oh cool, didn't know that one, thanks.

Is there any way that I can set some of these key bindings for cmd?
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post April 28th, 2008, 7:45 am

I don't think so without editing cmd.exe or command.com
I'm looking through my dos reference now.
CTRL + F4 is a windows keyboard shortcut to close any active open application.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 74 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.