Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Added Control Panel which includes:
Change terminal color setting
Added Tools which includes:
Ping a website of choice
Ping google
diskpart
  • Loading branch information
alphe-lbp authored Nov 2, 2023
1 parent ced8dfc commit 0737a2f
Showing 1 changed file with 80 additions and 3 deletions.
83 changes: 80 additions & 3 deletions os.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ cls
echo ....Start List....
echo 1) Shutdown
echo 2) Programs list
echo 3) About WPE
echo 3) Tools
echo 4) Control Panel
echo 5) About WPE
set /p soption=Select an option from the Start List:
if %soption%==1 call :sdown
if %soption%==2 call :plistcls
if %soption%==3 call :aboutwpe
if %soption%==3 call :toolscls
if %soption%==4 call :cpanelcls
if %soption%==5 call :aboutwpe
echo.
goto start

Expand All @@ -22,6 +26,79 @@ exit
cls
goto plist

:toolscls
cls
goto tools

:cpanelcls
cls
goto cpanel

:tools
echo ....Tools....
echo 1) Ping a website
echo 2) Ping google.com
echo 3) DiskPart
echo 4) Go Back
set /p toption=Select a tool:
if %toption%==1 call :pingsite
if %toption%==2 call :pingg
if %toption%==3 call :diskp
if %toption%==4 goto rstart
goto tools

:pingsite
echo.
set /p toption=Enter the website you want to ping:
ping %toption%
pause
cls
goto tools

:pingg
echo.
ping google.com
pause
cls
goto tools

:diskp
cls
diskpart
cls
goto tools

:cpanel
echo ....Control Panel....
echo Adjust your computer's settings.
echo.
echo 1) Change terminal colors
echo 2) Exit Control Panel
set /p coption=Choose a setting to change:
if %coption%==1 call :scolor
if %coption%==2 goto rstart
goto cpanel

:scolor
cls
echo Color Change
echo.
echo 0 = Black 8 = Gray
echo 1 = Blue 9 = Light Blue
echo 2 = Green A = Light Green
echo 3 = Aqua B = Light Aqua
echo 4 = Red C = Light Red
echo 5 = Purple D = Light Purple
echo 6 = Yellow E = Light Yellow
echo 7 = White F = Bright White
echo.
set /p bcoption=Choose the Background color:
echo.
set /p fgoption=Choose the Text color:
color %bcoption%%fgoption%
cls
goto cpanel

:rstart
cls
goto start
Expand Down Expand Up @@ -60,4 +137,4 @@ pause
cls
goto start

#Windows Pocket Edition - Version Alpha 0.0.1 (Build: A0) - Made by The Kernel Brothers
#Windows Pocket Edition - Version Alpha 0.0.1 (Build: A0) - Made by The Kernel Brothers

0 comments on commit 0737a2f

Please sign in to comment.