You can use the CLS command to clear all text in the console screen. If you want to erase just a portion of text, you can locate the text cursor somewhere using the LOCATE command and printing a bunch of spaces over the old text.