Advertisement
Guest User

Untitled

a guest
Jul 1st, 2017
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
BOO 2.51 KB | None | 0 0
  1. @echo off
  2. color 0a
  3. set /p name= What do you want your document to be named?:
  4. title %name% - Team m44m31's Notepad
  5. :options
  6. cls
  7. echo ________________________________________
  8. echo.
  9. echo       Notepad (Made By team m44m31)
  10. echo ________________________________________
  11. echo - %name%
  12. echo.
  13. echo Press 0 to edit a document that already exists.
  14. echo Press 1 to edit the name of your document.
  15. echo Press 2 to edit the contents of your document.
  16. echo Press 3 for help.
  17. echo Press 4 to exit.
  18.  
  19. set /p you=">"
  20. if %you%==1 goto 1
  21. if %you%==2 goto 2
  22. if %you%==3 goto help
  23. if %you%==4 goto 4
  24. if %you%==0 goto 0
  25.  
  26. cls
  27. echo *********************************
  28. echo sorry invalid number!
  29. echo *********************************
  30. ping localhost -n 2 >nul
  31. goto options
  32.  
  33. :1
  34. cls
  35. echo ________________________________________
  36. echo.
  37. echo       Notepad (Made By team m44m31)
  38. echo ________________________________________
  39. echo - %name%
  40. echo.
  41. echo Name Your Document .. eg. 'hello.txt' or 'hello.bat'
  42. set /p name=">"
  43. title %name% - Team m44m31's Notepad Notepad
  44.  
  45. goto options
  46.  
  47. :2
  48. cls
  49. echo ________________________________________
  50. echo.
  51. echo       Notepad (Made By team m44m31)
  52. echo ________________________________________
  53. echo - %name%
  54. echo.
  55. echo To add another line to your text press enter .. To stop editing press the big
  56. echo red X in the corner of this screen.
  57. echo.
  58. echo Cannot use symbols:"   > < |   " lol if you use any of them 3 symbols it closes!
  59. echo.
  60. set /p content=">"
  61. echo %content%>>%name%
  62. cls
  63. echo Save Successful!
  64. ping localhost -n 2 >nul
  65. goto 2
  66.  
  67. :help
  68. cls
  69. echo ________________________________________
  70. echo.
  71. echo       Notepad (Made By team m44m31)
  72. echo ________________________________________
  73. echo - %name%
  74. echo.
  75. echo If you are having trouble with Team m44m31's Notepad please pm me in instructables ...
  76. echo Also please tell me what you think =]
  77. echo.
  78. pause
  79. goto options
  80.  
  81. :4
  82. cls
  83. echo.
  84. echo.
  85. echo.
  86. echo.
  87. echo.
  88. echo.
  89. echo.
  90. echo.
  91. echo __Made by Team m44m31___________________
  92. echo.
  93. echo       Notepad (Made By team m44m31)
  94. echo ________________________________________
  95. echo     Please tell me what you think =]
  96. ping localhost -n 5 >nul
  97. exit
  98.  
  99. :0
  100. cls
  101. echo ________________________________________
  102. echo.
  103. echo       Notepad (Made By team m44m31)
  104. echo ________________________________________
  105. echo - %name%
  106. echo.
  107. echo Type in the name eg. 'hello.txt' or 'hello.bat'
  108. echo The file has to be in the same directory as my notpad!
  109. set /p edit=">"
  110. edit %edit%
  111. goto options
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement