doskey /reinstall

Microsoft Windows
Post Reply
lazna
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: 190
Joined: 2021-Jul-10, 7:46 pm
Contact:

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
via https://www.dostips.com/forum/viewtopic.php?f=3&t=5661
Post Reply