1
I want to know to how run a previous command in history by index like how it is done in Linux (i.e ![index]).
Yes, F9 in cmd raises a pop up box that allows me to enter in the index, but how do I do it straight form the command-line without the dialog box? Is there a way to do this in cmd without third party downloads?
Additionally, is there a way to display the command history with indexes all well? Moreover, doskey /history
displays a list of the previously executed commands however it does not list the indexes too.