ENTER (Repeat Last Command)

The ENTER key repeats the last command that you typed.



Item Description
Modes User mode, kernel mode
Targets Live, crash dump
Platforms All


In CDB and KD, pressing the ENTER key by itself at a command prompt reissues the command that you previously entered.

In WinDbg, the ENTER key can have no effect or you can use it to repeat the previous command. You can set this option in the Options dialog box. (To open the Options dialog box, click Options on the View menu or click the Options button ( Screenshot of the Options button.

If you set ENTER to repeat the last command, but you want to create white space in the Debugger Command window, use the * (Comment Line Specifier) token and then press ENTER several times.