Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- title Config
- if exist Name.txt goto loadNametxt
- :cls
- cls
- echo What is your name?
- echo.
- set /p c=Name:
- if "%c%"=="" goto cls
- echo %c%>Name.txt
- :loadNametxt
- SET /p name=<Name.txt
- cls
- echo Your name is %name%!
- echo.
- pause>>nul
- exit
Advertisement
Add Comment
Please, Sign In to add comment