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?
            Asked
            
        
        
            Active
            
        
            Viewed 9,096 times
        
    1 Answers
25
            Check out the doskey documentation:
Displays doskey macros for all executables
doskey /macros:all
To delete a macro called vlist, type:
doskey vlist =
        admdrew
        
- 3,790
 - 4
 - 27
 - 39
 
- 
                    4when I define a doskey in the shell, if I close it the doskey is automatically removed. Is this its normal functionality or there is some other problem? – Wosh Feb 06 '14 at 22:07
 - 
                    @Sajuuk Check out https://blogs.msdn.microsoft.com/andrewarnottms/2007/07/09/getting-doskey-macros-to-work-in-powershell/ – admdrew Dec 03 '18 at 19:59