I'm trying to run the below If condition but I'm not receiving any result.
IF %config%=="Yes" goto :findmerge
goto :endscript
:findmerge
cd M:\%viewname%\%vobname%
set /p branchname=Enter Branch Name:
set /p labelname=Enter Branch Name:
cleartool findmerge . -nc -fver .../%branchname%/%labelname% -print
:endscript
echo "Set Config Spec to Main/LATEST"
What could be the problem with this block?