Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Windows 7. I rely on my Windows -> Run command box regularly throughout my work day. However, I occasionally mistype a command, and this command gets stuck in the auto-complete history. This is particularly annoying when the mistype makes the wrong command precede the correct version in the command history. At this point I end up always executing the wrong command once before realizing I have to play closer attention to what was being listed and manually locate the correct version.

I don't want to clear the whole thing, because then I would lose the history of the useful commands. I just need to get rid of the irritating ones that get in the way.

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

In Windows XP, this is stored in the registry under:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU

From there you can remove or edit the ones that you don't need. I don't have any computer with Vista/Windows7 so I can't confirm if this is the same key for Windows 7.

UPDATE: You will need to restart your computer for the changes to take effect, since they are stored in memory.

share|improve this answer
    
Yes, it is the same on Windows 7, and I assume Vista as well. –  Sasha Chedygov Aug 26 '10 at 15:46
    
Thank you so much, that did the trick. Will give you the green check as soon as the accept-answer timeout is over. –  Matt Aug 26 '10 at 15:51
    
Didn't have to reboot here - change was instant. –  Matt Aug 26 '10 at 15:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.