How to clear current line of command prompt?
Posted
by
JellicleCat
on Super User
See other posts from Super User
or by JellicleCat
Published on 2012-03-05T18:43:31Z
Indexed on
2012/10/22
23:05 UTC
Read the original article
Hit count: 179
Windows
|command-line
How can I clear the current line in the command prompt? (I'm using Windows 7.)
Too often, I enter a command, execute it, get many lines of output, then wish to enter another command. But before entering the second command, I press the up arrow key to review the first command, then I find I have to hold backspace for 30-or so characters. (I can't just press down again to get an empty line. Nor can I get it by pressing up again.)
© Super User or respective owner