each time someone enters C,c,D or d they still get the invalid entry message even tho its valid
@echo OFF
Echo Bienvenido
Echo.
echo Este batch es para saber si quieres Disk Clean Up o desea hacer un Disk Defragmenter
echo.
pause
cls
echo.
set C= DiskCleanUp
set D= DiskDeFragmenter
:menu
echo --------------------------------------
echo Escoge C para cleanup o D para Defrag
echo --------------------------------------
set /p Option= Ingrese C o D:
echo -------------------------
:choice
If %Option%== C start %windir%\system32\cleanmgr.exe Else goto :incorrect
If %Option%== c start %windir%\system32\cleanmgr.exe Else goto :incorrect
If %Option%== D start %windir%\system32\dfrgui.exe Else goto :incorrect
If %Option%== d start %windir%\system32\dfrgui.exe Else goto :incorrect
:incorrect
cls
echo.
echo Invalid Entry
pause
goto :menu
echo.
cls
Echo Gracias por usar este batch de Eduardo Figueroa.
echo.
echo Press Enter para cerrar.
echo .
pause
echo.
Exit
each time someone enters C,c,D or d they still get the invalid entry message even tho its valid