Batch file string comparison
Small cmd batch snippet showing case-insensitive string comparison with if /I NOT and a label-based jump.
Source
SET PeerCloudGPMEnabled=%1
echo %PeerCloudGPMEnabled%
if /I NOT "%PeerCloudGPMEnabled%" == "true" goto :PeerCloudGPMEnabledEND
echo inside if
:PeerCloudGPMEnabledEND