Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- color 0a
- set /p name= What do you want your document to be named?:
- title %name% - Team m44m31's Notepad
- :options
- cls
- echo ________________________________________
- echo.
- echo Notepad (Made By team m44m31)
- echo ________________________________________
- echo - %name%
- echo.
- echo Press 0 to edit a document that already exists.
- echo Press 1 to edit the name of your document.
- echo Press 2 to edit the contents of your document.
- echo Press 3 for help.
- echo Press 4 to exit.
- set /p you=">"
- if %you%==1 goto 1
- if %you%==2 goto 2
- if %you%==3 goto help
- if %you%==4 goto 4
- if %you%==0 goto 0
- cls
- echo *********************************
- echo sorry invalid number!
- echo *********************************
- ping localhost -n 2 >nul
- goto options
- :1
- cls
- echo ________________________________________
- echo.
- echo Notepad (Made By team m44m31)
- echo ________________________________________
- echo - %name%
- echo.
- echo Name Your Document .. eg. 'hello.txt' or 'hello.bat'
- set /p name=">"
- title %name% - Team m44m31's Notepad Notepad
- goto options
- :2
- cls
- echo ________________________________________
- echo.
- echo Notepad (Made By team m44m31)
- echo ________________________________________
- echo - %name%
- echo.
- echo To add another line to your text press enter .. To stop editing press the big
- echo red X in the corner of this screen.
- echo.
- echo Cannot use symbols:" > < | " lol if you use any of them 3 symbols it closes!
- echo.
- set /p content=">"
- echo %content%>>%name%
- cls
- echo Save Successful!
- ping localhost -n 2 >nul
- goto 2
- :help
- cls
- echo ________________________________________
- echo.
- echo Notepad (Made By team m44m31)
- echo ________________________________________
- echo - %name%
- echo.
- echo If you are having trouble with Team m44m31's Notepad please pm me in instructables ...
- echo Also please tell me what you think =]
- echo.
- pause
- goto options
- :4
- cls
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo __Made by Team m44m31___________________
- echo.
- echo Notepad (Made By team m44m31)
- echo ________________________________________
- echo Please tell me what you think =]
- ping localhost -n 5 >nul
- exit
- :0
- cls
- echo ________________________________________
- echo.
- echo Notepad (Made By team m44m31)
- echo ________________________________________
- echo - %name%
- echo.
- echo Type in the name eg. 'hello.txt' or 'hello.bat'
- echo The file has to be in the same directory as my notpad!
- set /p edit=">"
- edit %edit%
- goto options
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement