cmder search history code example
Example 1: cmder search filter history
Press "Ctrl" + "r" and then type your substring to search in your history.
Last matching command line will be found, keep using "Ctrl" + "r" to find
previous ones. Once you find your searched command just press "Enter":
(reverse-i-search)`searched_substring': command_with_searched_substring
Example 2: 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"