How to creat Mini Macros with the doskey command

While you are in a command prompt session, you can create mini macros to execute long sentences of commands with just one word:

doskey mnd = net use Z: \\server1\myshare /user:admin MyPassword 

When you write mnd and hit enter, the complete net use command will be executed.

Leave a Reply