I have created a batch file as below
@echo off
echo Type Below Requirements:
echo.
:username
set /p usr= Type Username:
if %usr%==[%1]==[] goto username
echo Your username is: %usr%
pause
This is working perfectly when I am typing any text, but if I type " batch is Exit Automatically.