For DOS use the clreol function.