Manage macros, windows commands and command-lines. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/doskey.
doskey /macros
doskey {{name}} = "{{command}}"
doskey /exename={{executable}} {{name}} = "{{command}}"
doskey {{name}} =
doskey /history
doskey /macros > {{path\to\macinit_file}}
doskey /macrofile = {{path\to\macinit_file}}