Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove a doskey macro?

Tags:

windows

doskey

I have created a doskey macro I want to remove. How do I delete it? How can I see all the macros I have created?

like image 905
Wosh Avatar asked Jan 30 '14 18:01

Wosh


People also ask

Where are doskey macros stored?

doskey command will list all current macro definitions into d:\bat\macros. doskey file.

What is a doskey macro?

DOSKEY is a command for DOS, IBM OS/2, Microsoft Windows, and ReactOS that adds command history, macro functionality, and improved editing features to the command-line interpreters COMMAND.COM and cmd.exe .

How do I use doskey macros?

To run a macro, type the macro name at the command prompt, starting at the first position. If the macro was defined with $* or any of the batch parameters $1 through $9 , use a space to separate the parameters. You cannot run a doskey macro from a batch program.


1 Answers

Check out the doskey documentation.

How can I see all the macros I have created?

doskey /macros:all

How do I delete it?

doskey macroname=

...where macroname is the name of your macro (effectively makes your macro blank).

like image 171
admdrew Avatar answered Oct 05 '22 22:10

admdrew