How to Make Your Own OS! (batch and Example Inside)

by MatthyP in Circuits > Microsoft

2147 Views, 3 Favorites, 0 Comments

How to Make Your Own OS! (batch and Example Inside)

coder.png

Make it now!

S1: LEARN BATCH/.BAT PRGORAMMING

This is a important step to do. LEARN BATCH! If you already know it, skip this step, Beginners, read this other Instructable:

https://www.instructables.com/id/Simple-batch-Prog...

Go on to S2 Now

S2: Get the Example Code! P1: the Startup

The example code is here:

title Windows Basic Editon- Created By Christian James Matthy

X=MsgBox("Welcome To Windows BASIC EDITION!",0+16"Welcome! :DDD")

@echo offcolor 1b

cls

@echo off

color 1b

cls

:bootscreen

cls

set /p password= Password:

if %password% == MatthyPlayz desktop

if not %password% == MatthyPlayz goto bootscreentwo

Thats the end of the code.

Change the matthyplayz in these two for your password if %password% == MatthyPlayz desktop

if not %password% == MatthyPlayz goto bootscreentwo

S3: Get the Example Code! P2: the Desktop

Code here:

:desktop

cls

color 0a

cls

echo Welcome, Owner Christian Matthy.

echo.

echo Date: %date% Time: %time%

echo

echo 1)Write text file.

echo 2)Documents...

echo 3) Info

echo 4) Calculator

echo 5) Notepad (open in your main Windows OS)

echo 6) Close Windows Basic Edition

echo 7) Open Google (Quick way)

echo 8) Open The Folder Containing This Package (Quick way)

echo 9) randomness

echo 10) matrix

echo 11) Open Info (In a message box)

echo 12) CreateABatch.zip

set /p menuselect=

if %menuselect% == 1 goto write

if %menuselect% == 2 goto docs

if %menuselect% == 3 goto info

if %menuselect% == 4 goto calc

if %menuselect% == 5 goto notepad

if %menuselect% == 6 goto close

if %menuselect% == 7 goto google

if %menuselect% == 8 goto packageinfolder

if %menuselect% == 9 goto random

if %menuselect% == 10 goto randomtwo

if %menuselect% == 11 goto openinfoinmsgbox

if %menuselect% == 12 goto batch

S4: Get the Example Code! P3: the Apps (LONG)

Code here:

:write

cls

echo Welcome to Write, an application which let's you write text files...

echo What will be the name of your text?

set /p writeone= Name:clsecho Ok, your file has been created. Have fun!

pause

cls

set /p textone=pause

echo You will be going back to the desktop

pause

goto desktop

:docs

cls

echo 1)%writeone%

echo 2)%writetwo%

echo 3)%writethree%

set /p browse= if %browse% == 1 goto textone

if %browse% == 2 goto texttwo

if %browse% == 3 goto textthree

:textone

cls

echo %writeone%

echo %textone%pause

goto desktop

:texttwo

cls

echo %writetwo%

echo %texttwo%

pause

goto desktop

:textthree

cls

echo %writethree%

echo %textthree%

pause

goto deskto

p:info

echo Windows Basic Edition (Shows Coding)

echo Created by Christian James Matthy

pause

goto desktop :calc

cls

set /p equ=

set /a equ=%equ%

cls

echo %equ%

pause

goto desktop

:notepad

START /MAX C:\Windows\NOTEPAD.EXE

:close

close

:googleSTART CHROME www.google.com

:packageinfolder

START F:\

START E:\

:bootscreentwo

goto bootscreen

:random

echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%echo %random%

:randomtwo

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% pause

goto desktop

:openinfoinmsgbox

msg * Windows Basic Edition (Shows Coding) Created by Christian James Matthy

:batch

cls

echo Welcome to Project Folder Creator.

echo Will create the following folder:

echo %foldername%

echo If this is okay,

pause

cls

set foldername=Project

md %foldername%

cd %foldername%

md cache

cd cache

md proxies

cd md footage

cd footage

md img seq

cd..

md preview

md projectfiles

md references

md renders

cd renders

md passes

cd..

cls

cd..

start %foldername%

cd %foldername%

echo Batch Complete!

tree

pause

pause

goto desktop

Save

When you wrote that in Notepad, Go to save as,

name it Whatever you want

but make sure to ad .bat after. No space

Your done!