Advertisement
Ratchanon_406412

RatchanonBatchOs-V.0.0.0.5

Aug 5th, 2017
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.13 KB | None | 0 0
  1. @echo off
  2. title RatchanonBatchOs-V.0.0.0.5\
  3. color f0
  4. :Install
  5. echo Finding RatchanonBatchOs-Disk...
  6. timeout /t 10 >nul
  7. echo Loading File
  8. timeout /t 5 >nul
  9. echo 1%
  10. timeout /t 5 >nul
  11. cls
  12. echo 20%
  13. timeout /t 5 >nul
  14. cls
  15. echo 50%
  16. timeout /t 5 >nul
  17. cls
  18. echo 70%
  19. timeout /t 5 >nul
  20. cls
  21. echo 90%
  22. timeout /t 5 >nul
  23. cls
  24. echo 100%
  25. timeout /t 5 >nul
  26. cls
  27. echo Installing File.Plese Wait
  28. echo /
  29. timeout /t 2 >nul
  30. echo \
  31. timeout /t 2 >nul
  32. echo x
  33. timeout /t 2 >nul
  34. echo /
  35. cls
  36. echo \
  37. cls
  38. echo x
  39. cls
  40. goto login
  41. :login
  42. echo ---------------------
  43. echo Log-In to RatchanonBatchOs-V.0.0.0.5
  44. echo.
  45. echo.
  46. echo.
  47. echo Please type your username and press enter...
  48. echo [To Create an Account, type 1 and Press Enter]
  49. echo.
  50. set /p username=Username:
  51.  
  52. if %username% == 1 goto create_account
  53. cls
  54.  
  55. echo ---------------------
  56. echo Log-In to RatchanonBatchOs Messenger
  57. echo.
  58. echo.
  59. echo.
  60. echo Please type your password and press enter...
  61. echo.
  62. set /p password=Password:
  63. if exist ".\users\%username%.dll" goto password_check
  64. echo I'm sorry, but those credentials were not found. Please try again.
  65. timeout /t 3 >nul
  66. goto login
  67. :password_check
  68. set /p password_file=<".\users\%username%.dll"
  69. if %password_file%==%password% goto desktop
  70. goto incorrect_credentials
  71. :create_account
  72. cls
  73. echo _____________________
  74. echo Create an Account
  75. echo ---------------------
  76. echo.
  77. echo.
  78. echo Please enter your information...
  79. echo.
  80. set /p new_username=Username:
  81. cls
  82. echo _____________________
  83. echo Create an Account
  84. echo ---------------------
  85. echo.
  86. echo.
  87. echo Please enter your information...
  88. echo.
  89. set /p new_password=Password:
  90. echo %new_password% >".\users\%new_username%.dll"
  91. echo.
  92. echo Account Successfully Created!
  93. timeout /t 2 >nul
  94. cls
  95. goto login
  96. :Desktop
  97. cls
  98. title %username% 's Desktop
  99. echo Here are a few programs that you can run!
  100. echo 1) System Information
  101. echo 2) Calculator
  102. echo 3) Clock
  103. echo 4) Calendar
  104. echo 5) Shutdown
  105. echo 6) Log off
  106. echo 7) Therminal
  107.  
  108. set /p Desktopselect=
  109. if %Desktopselect%==1 goto systeminfo
  110. if %Desktopselect%==2 goto calc
  111. if %Desktopselect%==3 goto clock
  112. if %Desktopselect%==4 goto calendar
  113. if %Desktopselect%==5 goto shutdown
  114. if %Desktopselect%==6 goto logoff
  115. if %Desktopselect%==7 goto Therminal
  116.  
  117. :systeminfo
  118. cls
  119. title System Information
  120. echo [__________________________________________________________]
  121. echo [RatchanonBatchOs ]
  122. echo [__________________________________________________________]
  123. echo [Version:0.0.0.0.5 ]
  124. echo [Bulid:1 ]
  125. echo [Ram:5GB ]
  126. echo [Memory:200TB ]
  127. echo [Processor:Pentium(R) Dual-Core CPU T4400 @ 2.20GHz 2.20GHz]
  128. echo [64-bit Operating System,x32-based processor ]
  129. echo [ ]
  130. echo [ ]
  131. echo [ ]
  132. echo [__________________________________________________________]
  133. echo Are You Want To Update System
  134. echo 1)Update
  135. echo 2)Menu
  136. set /p update=
  137. if %update%==1 goto update
  138. if %update%==2 goto Desktop
  139.  
  140. :update
  141. echo Find For Update
  142. ping n- 127.0.0.1>nul
  143. cls
  144. ping n- 127.0.0.1>nul
  145. echo Find For Update.
  146. ping n- 127.0.0.1>nul
  147. cls
  148. ping n- 127.0.0.1>nul
  149. echo Find For Update..
  150. ping n- 127.0.0.1>nul
  151. cls
  152. ping n- 127.0.0.1>nul
  153. echo Find For Update...
  154. ping n- 127.0.0.1>nul
  155. echo We Not Found For Update :(
  156. echo Try Again Later
  157.  
  158. :calc
  159. echo Press 1 for Addition
  160. echo Press 2 for Subtraction
  161. echo Press 3 for Multiplication
  162. echo Press 4 for Division
  163. echo Press 5 to Quit
  164. set /p calc=
  165. if %calc%==1 goto a
  166. if %calc%==2 goto b
  167. if %calc%==3 goto c
  168. if %calc%==4 goto d
  169. if %calc%==5 goto e
  170. :a
  171. echo Addition
  172. echo Please choose the 2 numbers you wish to add.
  173. set /p num1=
  174. set /p num2=
  175. echo %num1%+ %num2%?
  176. pause
  177. set /a Answer=%num1%+%num2%
  178. echo %Answer%
  179. pause
  180. goto Desktop
  181. :b
  182. echo Subtraction
  183. echo Please choose the 2 numbers you wish to subtract
  184. set /p num1=
  185. set /p num2=
  186. echo %num1%+%num2%?
  187. pause
  188. set /a Answer=%num1%+%num2%
  189. echo %Answer%
  190. pause
  191. goto Desktop
  192. :c
  193. echo Multiplication
  194. echo Please choose the 2 numbers you wish to Multiply
  195. set /p num1=
  196. set /p num2=
  197. echo %num1%+%num2%?
  198. pause
  199. set /a Answer=%num1%+%num2%
  200. echo %Answer%
  201. pause
  202. goto Desktop
  203. :d
  204. echo Division
  205. echo Please choose the 2 numbers you wish to Divide
  206. set /p num1=
  207. set /p num2=
  208. echo %num1%/%num2%?
  209. pause
  210. set /a Answer=%num1%/%num2%
  211. echo %Answer%
  212. pause
  213. goto Desktop
  214. :e
  215. echo Thanks!
  216. pause>nul
  217. goto Desktop
  218.  
  219. :clock
  220. cls
  221. title Clock
  222. echo Just hit Enter when it asks you for a new time :)
  223. time
  224. pause
  225. goto Desktop
  226.  
  227. :calendar
  228. cls
  229. title Calendar
  230. echo Just hit Enter when it asks you for a new date :)
  231. date
  232. pause
  233. goto Desktop
  234.  
  235. :shutdown
  236. cls
  237. title Shutting Down...
  238. echo We are sad to see you go.
  239. pause
  240. echo Come back soon!
  241. pause>nul
  242. exit
  243.  
  244. :therminal
  245. cls
  246. color 07
  247. @echo off
  248. cd C:\WINDOWS\system32
  249. start cmd.exe
  250. title Administrator:Therminal
  251. @echo on
  252. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement