Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- int
- set wahl=
- set Passwort=
- set passwort1=
- set Name=
- set Name1=
- Start
- cls
- if not exist .txt goto Register
- cls
- echo.
- echo.
- echo Login und Register
- echo --------------------------------------------
- echo.
- echo.
- echo [1] = Login
- echo [2] = Register
- set p wahl=Wahl
- if %wahl%==1 goto Login
- if %wahl%==2 goto Register
- Login
- cls
- echo.
- echo.
- echo Login
- echo --------------------------------------------
- echo.
- echo.
- set p Name=Dein Name
- set p Passwort=Dein Passwort
- FOR F skip=1 %%A IN (%Name%.txt) DO SET Passwort1=%%A
- if %Passwort%==%Passwort1% goto Menu
- goto int
- Register
- cls
- echo.
- echo.
- echo Register
- echo --------------------------------------------
- echo.
- echo.
- set p Name1=Dein Name
- set p Passwort1=Dein Passwort
- (
- echo Passwort
- echo %Passwort1%
- )%Name1%.txt
- goto int
- Menu
- cls
- echo Du bist drin!
- pauseNUL
- goto Start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement