Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- title batchOS Virtual Machine
- :boot
- color 89
- cls
- echo batchOS 0.0.2 Pre-Beta
- set /p boot=[F]ast Boot Or [N]ormal Boot?
- if %boot% == f goto beforelogin
- if %boot% == F goto beforelogin
- echo.
- echo Please Wait While batchOS Boots.
- timeout /t 1 /nobreak >nul
- echo Please Wait While batchOS Boots..
- timeout /t 1 /nobreak >nul
- echo Please Wait While batchOS Boots...
- timeout /t 1 /nobreak >nul
- goto beforelogin
- :beforelogin
- cls
- if exist batchOS_user goto login
- goto passchange
- :login
- color 89
- < batchOS_user (
- set /p user=
- set /p pass=
- )
- set /p username= Username?
- set /p password= Password?
- if %username% == %user% goto logintwo
- goto loginthree
- :logintwo
- if %password% == %pass% goto before
- goto loginthree
- :loginthree
- cls
- echo Your Username And/Or Password Is Incorrect
- goto login
- :before
- cls
- color 0f
- echo Batch OS 0.0.2 Pre-Beta Created With 100% Batch
- echo Please Note: All Letter Must Be In Lowercase
- goto batchos
- :batchos
- echo.
- echo Ready
- set /p batchos=
- if %batchos% == say goto say
- if %batchos% == ask goto ask
- if %batchos% == aask goto aask
- if %batchos% == notepad goto notepad
- if %batchos% == help goto help
- if %batchos% == bugs goto bugs
- if %batchos% == ver goto ver
- if %batchos% == signout goto beforelogin
- if %batchos% == change goto change
- if %batchos% == shutdown goto shutdown
- if %batchos% == reboot goto reboot
- if %batchos% == passchange goto passchange
- if %batchos% == devhelp goto devhelp
- if %batchos% == crash goto crash
- if %batchos% == kernel goto boot
- if %batchos% == xD goto xd
- echo Unknown Command Type "help" For Help
- goto batchos
- :say
- set /p say= Say What?
- echo %say%
- goto batchos
- :ask
- set /p ask= Ask What?
- echo %ask%
- set /p aask=
- goto batchos
- :aask
- echo %aask%
- goto batchos
- :notepad
- cls
- set /p read=Read A File? (y/n)
- if %read% == y goto read
- set /p save=Save The File? (y/n)
- if %save% == y goto notepadthree
- :notepadtwo
- cls
- echo batchOS Notepad
- echo Type "quit" To Quit
- echo Please Note: No Space's Please!
- echo.
- goto notepadfour
- :notepadthree
- set /p file=What Would You Like The File To Be Called?
- goto notepadtwo
- :notepadfour
- set /p notepad=
- if %notepad% == quit goto before
- if %save% == y echo %notepad% >> %file%.txt
- goto notepadfour
- goto batchos
- :read
- goto readcrash
- cls
- echo %readtext%
- echo.
- echo Press Any Key To Go Back To batchOS...
- pause >nul
- goto batchos
- :help
- echo say = Make The OS Say Something
- echo ask = Make The OS Ask Something
- echo aask = Make The OS Tell You The Answer
- echo help = List The Commands You Can Use
- echo bugs = List Bugs In The Current Version
- echo ver = Show batchOS Version
- echo change = Show The Changes With Updates
- echo notepad = Open A Notepad
- echo signout = Goto The Login Screen
- echo shutdown = Shutdown The OS
- echo reboot = Reboot The OS
- echo passchange = Change The OS Password
- goto batchos
- :bugs
- echo batchOS Will Crash Upon Reading Spaces In Anywhere Except say And ask
- echo batchOS Will Not Understand Capital Letters Anywhere Except notepad, say And ask
- goto batchos
- :ver
- echo batchOS Version 0.0.2 Pre-Beta
- echo Released In May 2017
- goto batchos
- :change
- echo 0.0.1 - Release
- echo 0.0.2 - Save Text Documents With Notepad
- goto batchos
- :shutdown
- cls
- echo Shutting Down...
- timeout /t 3 /nobreak >nul
- exit
- :reboot
- cls
- echo Rebooting...
- timeout /t 5 /nobreak >nul
- goto boot
- :passchange
- echo Password Is CaP SeNsItIvE And Cannot Contain Spaces
- set /p user= New Username?
- set /p pass= New Password?
- (
- echo %user%
- echo %pass%
- ) > batchOS_user
- echo Press Any Key To Reboot The OS
- pause >nul
- goto reboot
- :devhelp
- echo crash = Force The Computer To Crash
- echo kernel = Bring You To The Kernel
- goto batchos
- :crash
- color 17
- cls
- echo The Computer Forced To Shutdown To Prevent Data Corruption
- echo.
- echo Error: 1
- echo Description: User Did Developer Command "crash"
- echo.
- echo Press Any Key To Reboot
- pause >nul
- goto boot
- :readcrash
- color 17
- cls
- echo The Computer Forced To Shutdown To Prevent Data Corruption
- echo.
- echo Error: 435
- echo Reading Files Is Not Ready In batchOS 0.0.2
- echo.
- echo Press Any Key To Reboot
- pause >nul
- goto boot
- :xd
- echo Command Known Type "help" For Help
- goto batchos
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement