Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

search in history command windows

Yes you can using doskey instead of history in Windows! You only have to first 
create a storage file as:
doskey /h > c:cmd_history.txt
Then just call your command history and filter your search as follows:
doskey /history | findstr "substring"
 
PREVIOUS NEXT
Tagged: #search #history #command #windows
ADD COMMENT
Topic
Name
4+9 =