Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run the last executed command in Windows command prompt

Tags:

windows

cmd

When using UNIX I use to type !! to run the last executed command.

How could I do the similar kind of operation on Windows command prompt?

like image 339
Vijay Avatar asked Jul 05 '10 08:07

Vijay


2 Answers

followed by Enter

like image 174
Paolo Avatar answered Oct 20 '22 07:10

Paolo


You can also use F7 to navigate the command history. F1 will recover the last command character by character.

like image 41
FrVaBe Avatar answered Oct 20 '22 07:10

FrVaBe