@echo off :loop set /p input="> "
echo %input%|find /i "my name is" >nul && echo That\'s a nice name.