I need to find a string having < str > inside it using windows cmd.exe find command, how can I do this?
Isn't < a reserved character?
I need to find a string having < str > inside it using windows cmd.exe find command, how can I do this?
Isn't < a reserved character?
Use double quotes (") around the argument to protect the special characters from processing by the shell.
< and > are reserved characters, but they don't have that meaning when they're inside "pairs of double quotes". Wrap your search string argument to find in double quotes and you'll be okay.