I need a piece of code (might be powershell) that checks for strings within strings. I want to place that code inside a batch file.
set B= ". . . something here that may contain special characters like ?/%. . ."
the line I'm looking for: C is 0 if B contains A if not C is 1
back to cmd file: if C is 0 do this if C is 1 do that