You are not logged in.
Pages: 1
Hi all, if I search strings with colons, in example:
C:\>ROUTE PRINT | FINDSTR ":"
FINDSTR works as I suppose it would work:
Active Routes:
Default Gateway: 192.168.2.1
Persistent Routes:
Indeed, if I try to use the /V switch to match all strings but the ones with a colon:
C:\>ROUTE PRINT | FINDSTR \V ":"
I got an error:
FINDSTR: Cannot open :
Is this a known behaviour?
My operating system is Windows XP service pack 3 and my locale is it_IT.
Last edited by Giacomo (05 Jun 2015 18:15)
Offline
you are using backslash instead of slash.Try with:
C:\>ROUTE PRINT | FINDSTR /V ":"
Offline
Thanks, I am really sorry, I didn't noticed my typo.
How should "Cannot open :" be interpreted anyway?
Offline
Thanks, I am really sorry, I didn't noticed my typo.
How should "Cannot open :" be interpreted anyway?
with backslash it is taken as path.Syntax for findstr could also be
findstr "string" filepath
Offline
Thanks again.
Offline
Pages: 1