I use what I know as ‘the Windows Run Box’ quite a bit - the command prompt that pops up when you do Windows Key and R together.
It keeps a history, which is great until you make a mistake. I tried editing out such a mistake in the Registry. The history is in:
HKEY_USERS\user id, or possibly a user sid\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU
The easiest way to find the key is to search for whatever mistake it was that you made e.g. if you typed ggvim by mistake, then search for that.
I did this on 28th May….I’ll delete this post if I subsequently find that my laptop is mucked up beyond all recognition :)