@echo offtitle proteccion de clavegoto:begin:malclsecho te equivocaste, vuelve a intentar !:beginset/p pass="Ingresa la clave: "if not defined pass (goto:mal)if ["%pass%"]==["a1"] (goto:bien) else (goto:mal):bienclsecho muy bien ingresaste la clave correcta !pause