To reproduce:Help wrote:By pressing ENTER you can execute the command line. Old command lines are saved in a history list.
...
CTRL-CURSORDOWN
or ALT+F8 - A list with the latest command lines (history-list) is opened. Hold down the CTRL key and use the up and down cursor keys to select an entry.
1) press Ctrl+Enter on notepad.exe;
2) focus on cmdline using RightArrow key, press End to remove selection;
3) remove ending space and some charactes from notepad.exe, for example everything until "not";
4) exit from command line using twice Esc;
5) use Ctrl+Enter to insert notepad.exe or any other name into commandline;
6) press RightArrow key to focus on cmdline;
7) press Ctrl+UpArrow: notepad.exe name will appear, with all characters from end to "not" being selected, although we didn't execute notepad.exe using command line before.
So this is either a bug or undocumented feature.