Advertisement
Guest User

Untitled

a guest
Sep 13th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. :verifile1
  2. cls
  3. echo.
  4. echo Before you can continue give out the following information...
  5. echo.
  6. echo What is your username?
  7. echo.
  8. set /p name1=Username:
  9. if not exist "%name1%_1.bat" (
  10. echo Invalid Username
  11. pause>nul
  12. goto welcome
  13. )
  14. echo.
  15. echo Your password?
  16. echo.
  17. set /p pass1=Password:
  18. call label %name1%_1.bat
  19. if not %password1% EQU %pass1% (
  20. echo Password entered do not match
  21. pause>nul
  22. goto welcome
  23. )
  24. goto Story
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement