I have written the following code
choice /m "Do you want to add another profile"
if errorlevel 1 set /p profile_name1=Enter one of the above profile names:
However it always runs "Enter one of the above profile names:" even though I pressed no. What did i do wrong?
Thanks!