As long as you don't mind hitting <CR> after the ^D, this seems to work: c:\> doskey ^D=exit Now, if you hit ^D<cr> (the <cr> is unfortunately required), CMD.EXE will exit. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/