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

Next year SF migration plan : moving out customer account to AWS , and call SF data with service account

 πŸ‘€ The most challenging part is about those function with user verification. My service cloud with MIAW chat , nearly redo due to the user ...