Wednesday, February 16, 2022

Window command : MS-DOS Doskey native window utility check command prompt history . Make record of cmd command easily

 It can be trouble when we runs a lots of command in command prompt . It made so many changes in short time ,which may need to be recovered later.

But it is not easy to remember every command you types , with native utility , we may retrieve command history with line line below :

Just open your command prompt and type 

doskey /history

#For keeping record in text log file
doskey /history > myCmd20220216.log 

Press "Enter"  , Finished ! 

Finally, very important thing is that the history is session history .
It only keeps command history BEFORE you CLOSE the command prompt. 

No comments:

Post a Comment

Something about Renpy For loop error : expected statement.

 It takes me over hour to debug. The simple fact is that under label, we cannot use For loop. One while is valid to be used under label. To ...