title: Check a string for a substring in a batch file (Windows)?
body: <p>Let's say I have some text in a variable called $1. Now I want to check if that $1 contains a certain string. If it contains a certain string I want to print a message. The printing is not the problem, the problem is the check.  Any ideas how to do that?</p>