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
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