Page 1 of 1

doskey /reinstall

Posted: 2022-Jun-27, 1:13 pm
by lazna
%subj% terminates (crash) cmd window, instead of clear command history buffer in Win10 19044 / 64bit. Anyone have this experince? Is there any other way to clear command history (e.g. powershell ??)

Re: doskey /reinstall

Posted: 2022-Jun-27, 4:40 pm
by Simon Sheppard
Looks like that bug has been around for quite a while
a workaround is

Code: Select all

rem Clear the command history
doskey /LISTSIZE=0
doskey /LISTSIZE=50
via https://www.dostips.com/forum/viewtopic.php?f=3&t=5661