doskey /reinstall

Microsoft Windows
Post Reply
Posts: 8
Joined: 2022-Jun-19, 1:48 pm

doskey /reinstall

Post 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 ??)
User avatar
Simon Sheppard
Posts: 170
Joined: 2021-Jul-10, 7:46 pm

Re: doskey /reinstall

Post 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
Post Reply