Answers for "windows history command"

2

windows history command

Use doskey! First you have to first create a storage file in a directory as:
doskey /h > c:\cmd_history.txt
Then just call your command history:
doskey /history

Optionally you can filter your history commands searching with findstr:
doskey /history | findstr "substring"
Posted by: Guest on October-16-2020
1

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"
Posted by: Guest on October-15-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language