mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 16:13:31 +02:00
doskey: add page (#2355)
This commit is contained in:
parent
9b647a7c0f
commit
ab3d66db6b
1 changed files with 31 additions and 0 deletions
31
pages/windows/doskey.md
Normal file
31
pages/windows/doskey.md
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# doskey
|
||||||
|
|
||||||
|
> Manage macros, windows commands and command lines.
|
||||||
|
|
||||||
|
- List available macros:
|
||||||
|
|
||||||
|
`doskey /macros`
|
||||||
|
|
||||||
|
- Create a new macro:
|
||||||
|
|
||||||
|
`doskey {{name}} = "{{command}}"`
|
||||||
|
|
||||||
|
- Create a new macro for a specific executable:
|
||||||
|
|
||||||
|
`doskey /exename={{executable}} {{name}} = "{{command}}"`
|
||||||
|
|
||||||
|
- Remove a macro:
|
||||||
|
|
||||||
|
`doskey {{name}} =`
|
||||||
|
|
||||||
|
- Display all commands that are stored in memory:
|
||||||
|
|
||||||
|
`doskey /history`
|
||||||
|
|
||||||
|
- Save macros to a file for portability:
|
||||||
|
|
||||||
|
`doskey /macros > {{macinit}}`
|
||||||
|
|
||||||
|
- Load macros from a file:
|
||||||
|
|
||||||
|
`doskey /macrofile = {{macinit}}`
|
Loading…
Add table
Reference in a new issue