Software Development

A journal for sharing all things software development related


findstr (Grep for windows)

Wed, 08 Jan 2020 11:30 UTC by garethbrown

The below example prints file names (/m), searches recursively (/s) for the term "keymap" in the given path which uses a wild card for .xml files

findstr /m /s "keymap" "C:\Users\gbro11\Desktop\JetBrains.Rider-2019.3.1.win\*.xml"

Full switch list

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490907(v=technet.10)

More

https://www.itechtics.com/using-findstr-windows/


The information on this site is provided “AS IS” and without warranties of any kind either
express or implied. To the fullest extent permissible pursuant to applicable laws, the author disclaims all warranties, express or implied, including, but not limited to, implied warranties of merchantability, non-infringement and suitability for a particular purpose.

UI block loader
One moment please ...