Given the DOS command

Often using Dos prompt? It's good you use one of the "facility" that is, the doskey. Its function is to "remember" commands that you type at the dos prompt. So to use the commands you type once you simply use the arrow keys to top. 

Right-click on the icon MS-DOS Prompt that is located on the Start Menu - Programs. 
Select Properties. 
Move to Programs tab. 
In the Batch file, add doskey. 
Click Apply and OK.