Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Ten, doskey


May 23, 2021 DOS Command learning manual



Record previously knocked dos commands, which can be displayed with F7, selected with "


Select the command number.


Doskey/restall is reloaded once and the previous command line is undone.


Doskey/history displays all commands in memory and can be displayed in other files, abbreviated as "/H".


Doskey dir-cls hits dir the same as cls.


Doskey/macros display all macro definitions, which can be redefined into a file using the abbreviation "/M".


Doskey dir s can undo the macro definition of dir.


doskey p=dir$tdir*.exe/p$tdir c:\t$tdir c:\t$*


$t as the distinguishor of the command, and $is the end of the command


Doskey/insert? When you re-enter a command, whether the changes to the old command are inserted or overred


Cover status (default).