doskey

Keyboard History Utility

Keyboard History Utility


doskey

  • C:\Windows\system32\doskey.exe /?

Output:

Edits command lines, recalls Windows commands, and creates macros.

DOSKEY [/REINSTALL] [/LISTSIZE=size] [/MACROS[:ALL | :exename]]
  [/HISTORY] [/INSERT | /OVERSTRIKE] [/EXENAME=exename] [/MACROFILE=filename]
  [macroname=[text]]

  /REINSTALL          Installs a new copy of Doskey.
  /LISTSIZE=size      Sets size of command history buffer.
  /MACROS             Displays all Doskey macros.
  /MACROS:ALL         Displays all Doskey macros for all executables which have
                      Doskey macros.
  /MACROS:exename     Displays all Doskey macros for the given executable.
  /HISTORY            Displays all commands stored in memory.
  /INSERT             Specifies that new text you type is inserted in old text.
  /OVERSTRIKE         Specifies that new text overwrites old text.
  /EXENAME=exename    Specifies the executable.
  /MACROFILE=filename Specifies a file of macros to install.
  macroname           Specifies a name for a macro you create.
  text                Specifies commands you want to record.

UP and DOWN ARROWS recall commands; ESC clears command line; F7 displays
command history; ALT+F7 clears command history; F8 searches command
history; F9 selects a command by number; ALT+F10 clears macro definitions.

The following are some special codes in Doskey macro definitions:
$T     Command separator.  Allows multiple commands in a macro.
$1-$9  Batch parameters.  Equivalent to %1-%9 in batch programs.
$*     Symbol replaced by everything following macro name on command line.

Return Code: 0


C:\Windows\system32\doskey.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
FileInfo
File Size20480bytes
Creation Time2022/07/08 08:48:47
LastWrite Time2022/07/08 08:48:47
ProductVersion10.0.19041.1
FileVersion10.0.19041.1 (WinBuild.160101.0800)
HashValue
MD5f6d134052bcb12103b729e4d2ea15b91
SHA1d3154a6a18e7e55ebab5a12648b4ca69727185c6
SHA2243fce359f8bc288e4be727aa6025e41db71b3c175430ee46cc4d2ab32
SHA256a1dbcadc2964dc2855e2bf09ae0e3c254b6a2c0a2122679f4576dce8e124bd2e
SHA3841aee4c1b3e2bce9f41f47e4d4677f29fdfc4bc01018b306fbe4c52a95ecc0bbae4df3d304ab3d3594cc78e5043d5a360
SHA5120fddc6ce70771e84c96c89268f39cc2c15b13eb5998caeed9378ae071c1a193597a786587490e5cd75fb24b1c513ce181d31c569fd8803372a3f944f28100304
Built with Hugo
Theme Stack designed by Jimmy