Here is the batch script I am working on:
@echo off
:programBEGIN
set FILE=R3D-%input1%.txt
mode con:cols=24 lines=25
color F
set /p input1=}} INPUT:
cls
if %input1%=="" goto ERR1
goto programLIST
:programLIST
echo Hello
:ERR1
echo Test
pause
Whenever I attempt to run the bat file and input no value, it closes with a quick prompt of "goto was unexpected at the time"
Is my formatting of the if statement correct, or is that the reason it keeps closing?