Remove command from auto-completion / history

Posted by dushyantp on Super User See other posts from Super User or by dushyantp
Published on 2013-06-26T08:29:43Z Indexed on 2013/06/28 4:23 UTC
Read the original article Hit count: 263

Filed under:
|

In windows command prompt, say we are running a command (batch file)

runtest

but we typo as

runtet

Then when we press F8 next time at 'run',it will still pop with 'runtet'.

Is there any way to remove this incorrect command from auto completion list without restarting the cmd prompt? Or a better way to achieve this?

Without restarting because, there are other commands which are relevant for auto completion and also the environment (though it can be set by batch file).

© Super User or respective owner

Related posts about Windows

Related posts about command-line