ReePrime
How to make a simple operating system in batch

Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.

How to make a simple operating system in batch

P
Programmerpranav

10 Views • Jun 09, 2015

Description

Hello everybody this is a video after a lot of time hope you enjoy, like and follow my channel!
_________________________________________________
Code:

@echo off
cls
color 1b
echo Starting Batch OS 1.0...
ping localhost -5 >nul
:home
cls
set /p user=Username:
if %user%==admin goto password
goto home

:password
cls
set /p passcode=Passcode:
if %passcode%==admin goto menu
goto password

:menu
echo WELCOME.
echo a - notepad.
echo b - pinger
echo c - exit/shutdown
set /p input=\
if %input%==a edit
if %input%==b goto pinger
if %input%==c exit
goto menu

:pinger
cls
set /p url=URL?
ping url
pause
goto home
_______________________________________________
Thanks for Watching!!