Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- :cls
- cls
- if exist text.sav goto loadandshow
- title Enter your text to save it!
- echo.
- echo Enter your text to save it!
- echo.
- set /p text=Text:
- if "%text%"=="" goto cls
- echo set text=%text%>text.sav
- cls
- :loadandshow
- ren text.sav text.bat
- call text.bat
- ren text.bat text.sav
- echo Your save: %text%
- echo.
- pause>>nul
- exit
Advertisement
Add Comment
Please, Sign In to add comment