I have an IF statement that needs to handle an event when the user hits ENTER instead of typing input. I thought i had it working, but it doesn't seem to get where it needs to go if the user enters nothing. If a user actually enters an IP here, it gets set, but if they just hit enter, I want to keep it as default (set above) and instead it gets set to nothing....please help.
set /P sel2=Enter your XBMC IP Address [%FTPHOST%]:
if "%sel2" == "" goto else1
echo got here