@echo off
title windows login module
color 3
echo please register.
echo.
set /p user=username:
set /p pass=password:
cls
echo your account %user% has been created.
echo.
pause
cls
:A
echo please login
echo.
set /p user=username:
set /p pass=password:
if %u%==%user% if %p%==%pass% go to b
cls
echo invalid user name or password!
echo.
pause
cls
go to A
:B
echo you are logged in as %user%
echo.
pause
cls
exit
title windows login module
color 3
echo please register.
echo.
set /p user=username:
set /p pass=password:
cls
echo your account %user% has been created.
echo.
pause
cls
:A
echo please login
echo.
set /p user=username:
set /p pass=password:
if %u%==%user% if %p%==%pass% go to b
cls
echo invalid user name or password!
echo.
pause
cls
go to A
:B
echo you are logged in as %user%
echo.
pause
cls
exit
No comments:
Post a Comment