Findstr with spaces


up vote 2 down vote favorite ... up vote 2 down vote favorite ... Sep 16, 2010 · Since Windows XP, Findstr has been included with the OS command line tools. ... Use spaces to separate multiple search strings unless the argument is prefixed Escaping double-quotes when using Findstr in a batch file. ... REM remove spaces set portname3=%portname2: =% REM Strip off Port=IP_ i.e. 8 characters. Escaping double-quotes when using Findstr in a batch file. ... REM remove spaces set portname3=%portname2: =% REM Strip off Port=IP_ i.e. 8 characters. Sep 16, 2010 · Since Windows XP, Findstr has been included with the OS command line tools. ... Use spaces to separate multiple search strings unless the argument is prefixed Note that there are two search strings (FINDSTR splits the string at spaces). The first string looks for an illegal character other than / in the first position. The second string looks for an illegal character anywhere after the 1st position when the 1st position is not /.