![]() You might want to have a look at What are the undocumented features and limitations of the Windows FINDSTR command?. The default for the /C option is a string literal. The /R option is needed to force interpretation of the search term as a regex. The /C option is needed to force the entire string to be considered one search term. You can use FINDSTR to get your desired output using: findstr /rvc:"^
This works fine for me in Windows command console: grep -v "^ Is there any way to do this using this particular led me to the findstr command in Windows but it still doesn't work. I've tried ', " with no joy and also the -E switch. This would be necessary to use it in a batch file. The
0 Comments
Leave a Reply. |