batch file - using dos commads how can i match a substring from a variable? -
How can I match the sub-string with a variable by using the dos command eg: var = "Lost = 0 (0% loss) "I want to see if it contains" lost "in it I have already tried to get involved, but please suggest error throwing. Thanks in advance and have a nice day. -print
resonance% name% | Search strings "string" & gt; Null if error level 1 (counterclock% is not "string" in%) and ("string" in resonance% filename%)
Note that if you wish, all this one The line may be on if the lines are broken, then the order ) and (
) must be on the same line as if
and long before (
Comments
Post a Comment