Windows

doskey

SafeHistory and macros

doskey /history

Shows cmd history and defines aliases — still core kit when you live in cmd.

Examples

  • doskey ll=dir /b $*Alias dir as ll

Syntax

doskey /history / doskey name=command $*

Before you run it

Session-scoped.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store