Sc4pterR0bl0x

nOPL OS (Not bootable, A batch file, Might be corrupt)

Jul 29th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. @echo off
  2. set customized_title=nOPL
  3. title Login
  4. echo setup
  5. cls
  6. set Username=Admin
  7. set Password=Admin
  8. echo Main Code
  9. cls
  10. echo Welcome to nOPL OS, %Username%
  11. pause
  12. cls
  13. set /p PasswordIn=Please enter the password of this account:
  14. if %PasswordIn%==%Password% goto OS
  15. pause
  16. cls
  17. :OS
  18. title %customized_title% OS
  19. cls
  20. echo Welcome, %Username%
  21. pause
  22. cls
  23.  
  24. echo --------- %Username%'S APPS -------------
  25. echo Please select a option:
  26. echo 1)Shutdown
  27. echo 2)Settings
  28. echo 3)Dash Calc
  29. echo .
  30. set /p command_line=.
  31. if %command_line%==1 exit
  32. if %command_line%==2 goto settings
  33. if %command_line%==3 goto dash
  34. :settings
  35. title Settings
  36. cls
  37. echo ------------- SETTINGS --------------------
  38. echo Welcome to settings
  39. echo Here are your options:
  40. echo 1)back
  41. echo 2)Text color changer
  42. set /p settings_line=.
  43. if %settings_line%==1 goto OS
  44. if %settings_line%==2 goto Colors
  45. pause
  46.  
  47. :Colors
  48. cls
  49. echo ------------- SETTINGS --------------------
  50. echo Please select a color(Please type in 0 if you want to go back)
  51. echo 1)Blue
  52. echo 2)Green
  53. echo 3)Yellow
  54. echo 4)Red
  55. echo 5)Light Green
  56. echo 6)Light Blue
  57. echo 7)Black
  58. echo 8)Grey
  59. set /p color_selecter=.
  60. if %color_selecter%==0 goto settings
  61. if %color_selecter%==1 goto Blue
  62. if %color_selecter%==2 goto Green
  63. if %color_selecter%==3 goto Yellow
  64. if %color_selecter%==4 goto Red
  65. if %color_selecter%==5 goto Light_Green
  66. if %color_selecter%==6 goto Light_Blue
  67. if %color_selecter%==7 goto Black
  68. if %color_selecter%==8 goto Grey
  69.  
  70. :Blue
  71. color 1
  72. goto Colors
  73. :Green
  74. color 2
  75. goto Colors
  76. :Yellow
  77. color 6
  78. goto Colors
  79. :Red
  80. color 4
  81. goto Colors
  82. :Light_Green
  83. color A
  84. goto Colors
  85. :Light_Blue
  86. color 9
  87. goto Colors
  88. :Black
  89. color 0
  90. goto Colors
  91. :Grey
  92. color 8
  93. goto Colors
  94.  
  95. :dash
  96. cls
  97. title Dash Calc
  98. echo --------------- DASH CALC ---------------
  99. set /p Calc_line=................Please enter the equation:
  100. set /a Calc_results=%Calc_line%
  101. echo %Calc_results%
  102. pause
  103. cls
  104. echo --------------- DASH CALC ---------------
  105. set /p Calc_Options=...............Do you want to make another equation(1, 2)?:
  106. if %Calc_Options%==1 goto dash
  107. if %Calc_Options%==2 goto OS
  108. pause
  109.  
  110.  
  111.  
  112.  
  113.  
Advertisement
Add Comment
Please, Sign In to add comment