loading
hello, first off i would like to say that if you are new to batch programming then you might want to go to an easier link for the basics, anyway, this is a code i wrote that i thought was kinda nifty, though it may seem like a ripoff of someone elses i assure you that i wrote it myself.



@echo off
color 0f
:login
cls
echo \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
echo app chooser made by me
echo /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
set /p user=enter passcode:
if "%user%"=="" goto welcome
:welcome
cls
echo welcome to the app chooser i made, feel free to browse around maybe even go to the membership section i made so that people with a member status can look at the other half of the apps!_!
echo ---------------------------
echo ---------------------------
echo 1 facebook
echo 2 youtube
echo 3 ourworld
echo 4 downworld
echo 5 happy wheels
echo 6 gmail
echo 7 go to membership stuff
set /p user=go ahead make a choice (p.s. members can add new links and app ideas!):
if "%user%"=="1" start https://www.facebook.com/
if "%user%"=="2" start http://www.youtube.com/
if "%user%"=="3" start http://web2.ourworld.com/ow/?env=home
if "%user%"=="4" start http://dweb1.downworld.com/dw/?env=home
if "%user%"=="5" start http://www.totaljerkface.com/happy_wheels.php
if "%user%"=="6" start https://accounts.google.com/ServiceLogin?service=mail&passive=true&rm=false&continue=http://mail.google.com/mail/&scc=1
if "%user%"=="7" goto member
goto welcome
:member
cls
echo welcome to the members area, where you can earn a membeship by simply [set prerequisites here]
echo ---------------------------------------
echo 1 i have a membership, what do i do with it?
echo 2 why wont my membership work?
echo 3 i like waffles!
echo 4 what will membership give me?
echo 5 i want to insert my passcode for the weekly membership
set /p user=enter option:
if "%user%"=="1" goto whatnow
if "%user%"=="2" goto whywontitwork
if "%user%"=="3" goto waffle
if "%user%"=="4" goto whatwill
if "%user%"=="5" goto pass
:whatnow
cls
echo you go to the member area and enter your code under the number five (5) option.
pause
goto member
:whywontitwork
cls
echo you probably have a bad code, or maybe the programmer mistyped the code into the program and you have the right code, either way talk to mike and he will resolve it free of charge!
pause
goto member
:waffle
cls
echo me too!
pause
goto member
:whatwill
cls
echo membership will give you access to 5 exclusive apps, as well as you will be able to make suggestions as to what apps should be on here and also have permission to get up to 2 links/apps of your choice put on here, and with super membership (coming soon) you will even be able yo have your own passcode on them to keep them safe and yours alone from those unsightly noobs.
pause
goto member
:pass
cls
set /p user=enter membership code now:
if "%user%"=="[set member pass here]" goto memblist
if "%user%"=="" goto wrong
:wrong
cls
echo no, try again
pause>nul
goto pass
:memblist
cls
echo welcome to the members area, as i know you have earned the usage of these apps(some of which are exclusive to app chooser)
echo 1 calculator
echo 2 random flashing colors( can only exit by closing and reopening app chooser)
echo 3 coming soon!
echo 4 coming soon!
echo 5 coming soon!
set /p user=make a choice, member:
if "%user%"=="1" goto calc
if "%user%"=="2" goto color
:calc
CLS
echo ------------------------------------------------------
echo     Welcome To the calculator Brought To You By mike
echo ------------------------------------------------------
echo To Exit Write Exit
echo.
echo + is plus, / is divide, * is multiply
set /p sum=
if "%sum%"=="exit" goto memblist
set /a ans=%sum%
echo.
echo The Answer Is: %ans%
echo --------------------------------------------------
pause
cls
goto calc
:color
:begin
color 12
color 22
color 32
color 42
color 52
goto begin

please feel free to modify the contents of this batch file and re-post them so that one day there will be an amazing program!
<p>that was awesome, i made something similar to that, check it out:</p><p>@echo off</p><p>:home</p><p>title Log in to Exp.os16</p><p>color 07</p><p>cls</p><p>echo.</p><p>echo Exp.os16 Accounts</p><p>echo =================</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>echo [1] Log In</p><p>echo [2] Sign Up</p><p>echo [3] Exit</p><p>echo.</p><p>set /p op=</p><p>if %op%==1 goto 123</p><p>if %op%==2 goto 223</p><p>if %op%==3 exit</p><p>goto error</p><p>:223</p><p>cls</p><p>echo Sign Up</p><p>echo ======================================</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>set /p newname=&quot;Enter new username:&quot;</p><p>if &quot;%newname%&quot;==&quot;%newname%&quot; goto inputname</p><p>:inputname</p><p>cd &quot;%userprofile%\documents&quot;</p><p>if exist &quot;cmdacoBin&quot; goto skip</p><p>if not exist &quot;cmdacoBin&quot; goto noskip</p><p>:noskip</p><p>md &quot;cmdacoBin&quot;</p><p>goto skip</p><p>:skip</p><p>cd &quot;%userprofile%\documents\cmdacoBin&quot;</p><p>if exist &quot;%newname%.bat&quot; goto namexist</p><p>if not exist &quot;%newname%.bat&quot; goto skip2</p><p>:skip2</p><p>echo set realusername=%newname%&gt; &quot;%newname%.bat&quot;</p><p>goto next</p><p>:next</p><p>echo.</p><p>set /p pswd=Enter new Password:</p><p>if &quot;%pswd%&quot;==&quot;%pswd%&quot; goto inputpass</p><p>:inputpass</p><p>cd &quot;%userprofile%\documents\cmdacoBin&quot;</p><p>echo set password=%pswd%&gt;&gt; &quot;%newname%.bat&quot;</p><p>goto next1</p><p>:namexist</p><p>echo.</p><p>echo The entered username already exists.</p><p>echo Press any key to return. . .</p><p>pause &gt;nul</p><p>goto 2</p><p>:next1</p><p>cls</p><p>echo Exp.os16 Accounts</p><p>echo =================</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>echo Your account has been successfully created!</p><p>echo.</p><p>pause</p><p>goto home</p><p>:123</p><p>color 07</p><p>cls</p><p>echo Exp.os16 Accounts Log In</p><p>echo ========================</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>Set /p logname=Username:</p><p>if &quot;%logname%&quot;==&quot;%logname%&quot; goto 2.1</p><p>:2.1</p><p>echo.</p><p>set /p logpass=&quot;Password:&quot;</p><p>if &quot;%logpass%&quot;==&quot;%logpass%&quot; goto login</p><p>:login</p><p>cd &quot;%userprofile%\documents\cmdacoBin&quot;</p><p>if exist &quot;%logname%.bat&quot; goto call</p><p>if not exist &quot;%logname%.bat&quot; goto errorlog</p><p>:call</p><p>call &quot;%logname%.bat&quot;</p><p>if &quot;%password%&quot;==&quot;%logpass%&quot; goto logdone</p><p>goto errorlog</p><p>:errorlog</p><p>color 0c</p><p>echo.</p><p>echo Username or Password incorrect.</p><p>echo Access denied.</p><p>pause &gt;nul</p><p>goto home</p><p>:logdone</p><p>cls</p><p>echo Command Prompt</p><p>echo ==============</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>echo Successfully logged in!</p><p>echo.</p><p>pause</p><p>goto account</p><p>:account</p><p>cls</p><p>cd &quot;%userprofile%\documents\cmdacoBin&quot;</p><p>call &quot;%realusername%color.bat&quot;</p><p>call &quot;%realusername%.bat&quot;</p><p>color %colorcode%</p><p>cls</p><p>echo.</p><p>echo -------------------------------------------------------------------------------</p><p>echo %realusername%</p><p>echo -------------------------------------------------------------------------------</p><p>break off</p><p>Title Command Prompt</p><p>cls</p><p>:cmd</p><p>echo Type &quot;home&quot; any time to go to the current user profile directory.</p><p>echo Type &quot;desktop&quot; any time to go to the current user desktop.</p><p>echo.</p><p>echo Type help to see list of common commands like cd, rd, md, del,</p><p>echo ren, replace, copy, xcopy, move, attrib, tree, edit, and cls.</p><p>echo Type [command]/? for detailed info.</p><p>echo.</p><p>echo Type red, blue, or green to change color of text.</p><p>echo Type normal to change the color of the text back.</p><p>echo.</p><p>echo Type apps to go to app screen.</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>echo Directory: %CD%</p><p>set /P CMD=Command:</p><p>if &quot;%CMD%&quot; == &quot;cls&quot; goto cls</p><p>if &quot;%CMD%&quot; == &quot;home&quot; goto home2</p><p>if &quot;%CMD%&quot; == &quot;desktop&quot; goto desktop</p><p>if &quot;%CMD%&quot; == &quot;red&quot; goto red</p><p>if &quot;%CMD%&quot; == &quot;green&quot; goto green</p><p>if &quot;%CMD%&quot; == &quot;normal&quot; goto normall12</p><p>if &quot;%CMD%&quot; == &quot;blue&quot; goto blue</p><p>if &quot;%CMD%&quot; == &quot;apps&quot; goto Beginning</p><p>cls</p><p>%CMD%</p><p>cd C:\</p><p>goto cmd</p><p>:cls</p><p>cls</p><p>goto cmd</p><p>:home2</p><p>cd /d %USERPROFILE%</p><p>cls</p><p>goto cmd</p><p>:desktop</p><p>cd /d %SystemDrive%\Users\%USERNAME%\Desktop</p><p>cls</p><p>goto cmd</p><p>:red</p><p>color 0c</p><p>cls</p><p>goto cmd</p><p>:green</p><p>color 0a</p><p>cls</p><p>goto cmd</p><p>:blue</p><p>color 9</p><p>cls</p><p>goto cmd</p><p>:normall12</p><p>color 7</p><p>cls</p><p>goto cmd</p><p>cls</p><p>:Beginning</p><p>cls</p><p>echo Type [1] to start Browser.</p><p>echo Type [2] to start Calculator.</p><p>echo Type [3] to start File editor.</p><p>echo Type [4] to start PC cleaner.</p><p>echo Type [5] to start random string generator.</p><p>echo Type [6] to start start screen</p><p>echo Type [7] to start batch file maker/editor</p><p>echo Type [8] to exit Exp.os12.</p><p>echo %TIME% %DATE%</p><p>set /p input= &quot;input number&quot; </p><p>if %input%==1 goto Browser</p><p>if %input%==2 goto Calculator</p><p>if %input%==3 goto File editor</p><p>if %input%==4 goto menu</p><p>if %input%==5 goto random</p><p>if %input%==6 goto account</p><p>if %input%==7 goto begg</p><p>if %input%==8 exit</p><p>:random</p><p>cls</p><p>setlocal enabledelayedexpansion</p><p>echo =================================</p><p>echo Exp.os16 random string generator.</p><p>echo =================================</p><p>echo %TIME% %DATE%</p><p>set /p input= &quot;Input string length.&quot;</p><p>set _RNDLength=%input%</p><p>set _Alphanumeric=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890</p><p>set _Str=%_Alphanumeric%\</p><p>:_LenLoop</p><p>if not &quot;%_Str:~18%&quot;==&quot;&quot; SET _Str=%_Str:~9%&amp; SET /A _Len+=9&amp; GOTO :_LenLoop</p><p>set _tmp=%_Str:~9,1%</p><p>set /A _Len=_Len+_tmp</p><p>set _count=0</p><p>set _RndAlphaNum=</p><p>:_loop</p><p>set /a _count+=1</p><p>set _RND=%Random%</p><p>set /A _RND=_RND%%%_Len%</p><p>set _RndAlphaNum=!_RndAlphaNum!!_Alphanumeric:~%_RND%,1!</p><p>if !_count! lss %_RNDLength% goto _loop</p><p>echo Random string is !_RndAlphaNum!</p><p>set /p uppit= &quot;Do you want to exit? (y/n)&quot;</p><p>if %uppit%==y goto Beginning</p><p>if %uppit%==n goto random</p><p>:menu</p><p>cls</p><p>echo ===========================</p><p>echo Exp.os16 PC Cleanup Utility</p><p>echo ===========================</p><p>echo %TIME% %DATE%</p><p>echo.</p><p>echo Select a tool</p><p>echo =============</p><p>echo.</p><p>echo [1] Delete Internet Cookies</p><p>echo [2] Delete Temporary Internet Files</p><p>echo [3] Disk Cleanup</p><p>echo [4] Disk Defragment</p><p>echo [5] Exit</p><p>echo.</p><p>set /p op=Run:</p><p>if %op%==1 goto 1</p><p>if %op%==2 goto 2</p><p>if %op%==3 goto 3</p><p>if %op%==4 goto 4</p><p>if %op%==5 goto Beginning</p><p>goto error</p><p>:1</p><p>cls</p><p>echo =======================</p><p>echo Delete Internet Cookies</p><p>echo =======================</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>echo Deleting Cookies...</p><p>ping localhost -n 3 &gt;nul</p><p>del /f /q &quot;%userprofile%\Cookies\*.*&quot;</p><p>cls</p><p>echo =======================</p><p>echo Delete Internet Cookies</p><p>echo =======================</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>echo Cookies deleted.</p><p>echo.</p><p>echo Press any key to return to the menu. . .</p><p>pause &gt;nul</p><p>goto menu</p><p>:2</p><p>cls</p><p>echo ===============================</p><p>echo Delete Temporary Internet Files</p><p>echo ===============================</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>echo Deleting Temporary Files...</p><p>ping localhost -n 3 &gt;nul</p><p>del /f /q &quot;%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*&quot;</p><p>cls</p><p>echo ===============================</p><p>echo Delete Temporary Internet Files</p><p>echo ===============================</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>echo Temporary Internet Files deleted.</p><p>echo.</p><p>echo Press any key to return to the menu. . .</p><p>pause &gt;nul</p><p>goto menu</p><p>:3</p><p>cls</p><p>echo ============</p><p>echo Disk Cleanup</p><p>echo ============</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>echo Running Disk Cleanup...</p><p>ping localhost -n 3 &gt;nul</p><p>if exist &quot;C:\WINDOWS\temp&quot;del /f /q &quot;C:WINDOWS\temp\*.*&quot;</p><p>if exist &quot;C:\WINDOWS\tmp&quot; del /f /q &quot;C:\WINDOWS\tmp\*.*&quot;</p><p>if exist &quot;C:\tmp&quot; del /f /q &quot;C:\tmp\*.*&quot;</p><p>if exist &quot;C:\temp&quot; del /f /q &quot;C:\temp\*.*&quot;</p><p>if exist &quot;%temp%&quot; del /f /q &quot;%temp%\*.*&quot;</p><p>if exist &quot;%tmp%&quot; del /f /q &quot;%tmp%\*.*&quot;</p><p>if not exist &quot;C:\WINDOWS\Users\*.*&quot; goto skip</p><p>if exist &quot;C:\WINDOWS\Users\*.zip&quot; del &quot;C:\WINDOWS\Users\*.zip&quot; /f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.exe&quot; del &quot;C:\WINDOWS\Users\*.exe&quot; /f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.gif&quot; del &quot;C:\WINDOWS\Users\*.gif&quot; /f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.jpg&quot; del &quot;C:\WINDOWS\Users\*.jpg&quot; /f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.png&quot; del &quot;C:\WINDOWS\Users\*.png&quot; /f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.bmp&quot; del &quot;C:\WINDOWS\Users\*.bmp&quot; /f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.avi&quot; del &quot;C:\WINDOWS\Users\*.avi&quot; /f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.mpg&quot; del &quot;C:\WINDOWS\Users\*.mpg&quot; /f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.mpeg&quot; del &quot;C:\WINDOWS\Users\*.mpeg&quot; /f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.ra&quot; del &quot;C:\WINDOWS\Users\*.ra&quot; /f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.ram&quot; del &quot;C:\WINDOWS\Users\*.ram&quot;/f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.mp3&quot; del &quot;C:\WINDOWS\Users\*.mp3&quot; /f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.mov&quot; del &quot;C:\WINDOWS\Users\*.mov&quot; /f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.qt&quot; del &quot;C:\WINDOWS\Users\*.qt&quot; /f /q</p><p>if exist &quot;C:\WINDOWS\Users\*.asf&quot; del &quot;C:\WINDOWS\Users\*.asf&quot; /f /q</p><p>:skip</p><p>if not exist C:\WINDOWS\Users\Users\*.* goto skippy /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.zip del C:\WINDOWS\Users\Users\*.zip /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.exe del C:\WINDOWS\Users\Users\*.exe /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.gif del C:\WINDOWS\Users\Users\*.gif /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.jpg del C:\WINDOWS\Users\Users\*.jpg /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.png del C:\WINDOWS\Users\Users\*.png /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.bmp del C:\WINDOWS\Users\Users\*.bmp /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.avi del C:\WINDOWS\Users\Users\*.avi /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.mpg del C:\WINDOWS\Users\Users\*.mpg /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.mpeg del C:\WINDOWS\Users\Users\*.mpeg /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.ra del C:\WINDOWS\Users\Users\*.ra /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.ram del C:\WINDOWS\Users\Users\*.ram /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.mp3 del C:\WINDOWS\Users\Users\*.mp3 /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.asf del C:\WINDOWS\Users\Users\*.asf /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.qt del C:\WINDOWS\Users\Users\*.qt /f /q</p><p>if exist C:\WINDOWS\Users\AppData\Temp\*.mov del C:\WINDOWS\Users\Users\*.mov /f /q</p><p>:skippy</p><p>if exist &quot;C:\WINDOWS\ff*.tmp&quot; del C:\WINDOWS\ff*.tmp /f /q</p><p>if exist C:\WINDOWS\ShellIconCache del /f /q &quot;C:\WINDOWS\ShellI~1\*.*&quot;</p><p>cls</p><p>echo ============</p><p>echo Disk Cleanup</p><p>echo ============</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>echo Disk Cleanup successful!</p><p>echo.</p><p>pause</p><p>goto menu</p><p>:4</p><p>cls</p><p>echo ===============</p><p>echo Disk Defragment</p><p>echo ===============</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>echo Defragmenting hard disks...</p><p>ping localhost -n 3 &gt;nul</p><p>defrag -c -v</p><p>cls</p><p>echo ===============</p><p>echo Disk Defragment</p><p>echo ===============</p><p>echo.</p><p>echo %TIME% %DATE%</p><p>echo Disk Defrag successful!</p><p>echo.</p><p>pause</p><p>goto menu</p><p>:error</p><p>cls</p><p>echo Command not recognized.</p><p>ping localhost -n 4 &gt;nul</p><p>:Browser</p><p>title Batch browser</p><p>:start</p><p>cls</p><p>echo _/Main Menu\____________________________Exp.os16 Browser______________________________</p><p>echo _____________________________________________________________________________________)</p><p>echo Welcome to Exp.os16 Browser!</p><p>echo Type [1] to open search.</p><p>echo Type [2] to open apps.</p><p>echo Type [3] to Exit This Browser.</p><p>echo %TIME% %DATE%</p><p>set /p menu=</p><p>if %menu%==1 (</p><p>set menu=</p><p>goto middle</p><p>)</p><p>if %menu%==2 (</p><p>set menu=</p><p>goto end</p><p>)</p><p>if %menu%==3 goto Beginning</p><p>cls</p><p>:middle</p><p>echo _/Search\____________________________Exp.os16 Browser_________________________________</p><p>echo _____________________________________________________________________________________)</p><p>echo Enter keywords or surf the web.</p><p>echo Type &quot;1&quot; to exit Search.</p><p>echo %TIME% %DATE%</p><p>set /p keyword=</p><p>if %keyword%==1 (</p><p>set keyword=</p><p>goto start</p><p>)</p><p>start &quot;&quot; https://www.google.com/?gws_rd=ssl#q=%keyword%</p><p>start %keyword%</p><p>pause&gt;null</p><p>cls</p><p>goto middle</p><p>pause&gt;null</p><p>:end</p><p>cls</p><p>echo _/Apps\____________________________Exp.os16 Browser___________________________________</p><p>echo _____________________________________________________________________________________)</p><p>echo These are your apps.</p><p>echo Type [1] to start Google.</p><p>echo Type [2] to start Youtube.</p><p>echo Type [3] to start Reddit</p><p>echo Type [4] to start Instructables</p><p>echo Type [5] to Exit Apps.</p><p>echo %TIME% %DATE%</p><p>set /p select=</p><p>if %select%==1 (</p><p>set select=</p><p>start &quot;&quot; https://www.google.com/?gws_rd=ssl</p><p>goto end</p><p>)</p><p>if %select%==2 (</p><p>set select=</p><p>start &quot;&quot; https://youtube.com/</p><p>goto end</p><p>)</p><p>if %select%==3 (</p><p>set select=</p><p>start &quot;&quot; https://reddit.com/</p><p>goto end</p><p>)</p><p>if %select%==4 (</p><p>set select=</p><p>start &quot;&quot; https://instructables.com/</p><p>goto end</p><p>)</p><p>if %select%==5 (</p><p>set select=</p><p>goto start</p><p>)</p><p>:Calculator</p><p>title Exp.os16Calculator</p><p>:main</p><p>cls</p><p>echo ========================================</p><p>echo Your previous Calulated number was %sum%</p><p>echo ========================================</p><p>echo %TIME% %DATE%</p><p>echo.</p><p>echo Enter the specified number to continue..</p><p>echo.</p><p>echo [1] Addition</p><p>echo.</p><p>echo [2] Subtraction</p><p>echo.</p><p>echo [3] Divison</p><p>echo.</p><p>echo [4] Multipication</p><p>echo.</p><p>echo [5] Square, Cube or any power</p><p>echo.</p><p>echo [6] Exit</p><p>set /p do=Value.</p><p>if %do%== 1 goto add</p><p>if %do%== 2 goto sub</p><p>if %do%== 3 goto div</p><p>if %do%== 4 goto mul</p><p>if %do%== 5 goto power1</p><p>if %do%== 6 goto Beginning</p><p>echo.</p><p>cls</p><p>echo Invalid value = %do%</p><p>echo.</p><p>pause</p><p>cls</p><p>goto main</p><p>:add</p><p>cls</p><p>echo ADDITON</p><p>echo.</p><p>set /p no1=&quot;num1. &quot;</p><p>echo +</p><p>set /p no2=&quot;num2. &quot;</p><p>set /a sum=no1+no2</p><p>echo ------------</p><p>echo %sum%</p><p>echo.</p><p>pause</p><p>cls</p><p>goto main</p><p>:sub</p><p>cls</p><p>echo SUBTRACTION</p><p>echo.</p><p>set /p no1=&quot;num1. &quot;</p><p>echo -</p><p>set /p no2=&quot;num2. &quot;</p><p>set /a sum=no1-no2</p><p>echo ------------</p><p>echo %sum%</p><p>echo.</p><p>pause</p><p>cls</p><p>goto main</p><p>:div</p><p>cls</p><p>echo DIVISON</p><p>echo.</p><p>set /p no1=&quot;num1. &quot;</p><p>echo /</p><p>set /p no2=&quot;num2. &quot;</p><p>set /a sum=no1/no2</p><p>echo ------------</p><p>echo %sum%</p><p>echo.</p><p>pause</p><p>cls</p><p>goto main</p><p>:mul</p><p>cls</p><p>echo MULTIPLICATION</p><p>echo.</p><p>set /p no1=&quot;num1. &quot;</p><p>echo *</p><p>set /p no2=&quot;num2. &quot;</p><p>set /a sum=no1*no2</p><p>echo ------------</p><p>echo %sum%</p><p>echo.</p><p>pause</p><p>cls</p><p>goto main</p><p>:power1</p><p>cls</p><p>echo Square, Cube or any power</p><p>echo.</p><p>echo Select the number</p><p>set /p num=</p><p>cls</p><p>echo Select the power</p><p>set /p pow=</p><p>set /a pow=%pow%+1</p><p>set ans=%num%</p><p>cls</p><p>:power2</p><p>set /a pow=%pow%-1</p><p>if %pow% LSS 1 goto next</p><p>set /a ans=%ans%*%num%</p><p>goto power2</p><p>:next</p><p>echo Your answer is %ans%</p><p>echo.</p><p>goto main</p><p>:File editor</p><p>title Exp.os16File editor</p><p>:options</p><p>cls</p><p>echo Exp.os16 File editor.</p><p>echo Type [1] to edit a File that already exists.</p><p>echo Type [2] to edit the name of your document.</p><p>echo Type [3] to edit the contents of your File.</p><p>echo Type [4] to exit.</p><p>echo %TIME% %DATE%</p><p>set /p you=&quot;&gt;&quot;</p><p>if %you%==1 goto 1</p><p>if %you%==2 goto 2</p><p>if %you%==3 help</p><p>if %you%==4 goto Beginning</p><p>:1</p><p>echo Name Your File.</p><p>set /p name=&quot;&gt;&quot;</p><p>goto options</p><p>:2</p><p>cls</p><p>echo - %name%</p><p>echo To add another line to your text press enter. To stop editing press the big</p><p>echo red X in the corner of this screen.</p><p>echo.</p><p>echo Cannot use symbols:&quot; &gt; &lt; | &quot; if you use any of them the window closes.</p><p>echo.</p><p>set /p content=&quot;&gt;&quot;</p><p>echo %content%&gt;&gt;%name%</p><p>cls</p><p>echo Save Successful!</p><p>ping localhost -n 2 &gt;nul</p><p>goto 2</p><p>:help</p><p>cls</p><p>:0</p><p>cls</p><p>echo - %name%</p><p>echo Type in the name.</p><p>echo The file has to be in the same directory as notepad.</p><p>set /p edit=&quot;&gt;&quot;</p><p>edit %edit%</p><p>goto options </p><p>:begg</p><p>cls</p><p>echo ==========================</p><p>echo Exp.os16 batch file editor</p><p>echo ==========================</p><p>echo %TIME% %DATE%</p><p>:begg</p><p>set /p opttt=&quot;edit file? (y/n)&quot;</p><p>if %opttt%==&quot;y&quot; goto hurrr</p><p>if %opttt%==&quot;n&quot; goto beggg</p><p>:beggg</p><p>set /p filename=&quot;name file&quot;</p><p>set /p fileinsides=&quot;create file&quot;&quot;</p><p>if exist &quot;expfilebin&quot; goto hurdur</p><p>if not exist &quot;expfilebin&quot; goto hurdurr</p><p>:hurdurr</p><p>md &quot;expfilebin&quot;</p><p>goto hurdur</p><p>:hurdur</p><p>cd &quot;%userprofile%\documents\expfilebin&quot;</p><p>echo @echo off&gt;&gt; &quot;%filename%.bat&quot;</p><p>echo echo %fileinsides%&gt;&gt; &quot;%filename%.bat&quot;</p><p>echo pause&gt;&gt; &quot;%filename%.bat&quot;</p><p>:hurrr</p><p>set /p fileopen=&quot;open file and state file name&quot;</p><p>if exist &quot;%fileopen%&quot; goto hhh</p><p>if not exist &quot;%fileopen%&quot; goto unfound</p><p>:hhh</p><p>set /p ff=&quot;input file contents&quot;</p><p>echo echo %ff%&gt;&gt; &quot;%fileopen%.bat&quot;</p><p>echo pause&gt;&gt; &quot;%fileopen%.bat&quot;</p><p>goto exx</p><p>:unfound</p><p>echo file not found</p><p>pause</p><p>goto begg</p><p>:exx</p><p>set /p exxx=&quot;exit (y/n)&quot;</p><p>if %exxx%==y goto Beginning</p><p>if %exxx%==n goto begg</p>
<p>Very Cool</p>
<p>hello i would send you my batch file script but it is 160 pages long so if you would like it i can send you a compressed version just email me at BryansBatch@gmail.com</p>
<p>160 pages long? Can I have the code? :D</p><p>Email me at dane434@hotmail.com</p>
<p>This was really cool. I am going to try to add on to yours. But, you did puplish this in 2010, so I don't really know how many people will respond.</p>
<p>Sorry, I don't know where I got that 2010 from. But I can tell it was published long ago.</p>
<p>I think I have done something with it...</p><p>(I tried to keep everything you had too)</p><p>Here is the new code: </p><p>@echo off<br>echo CreateObject(&quot;SAPI.SpVoice&quot;).Speak&quot;welcome&quot;&gt;welcom.vbs<br>title The APP Player! <br>@mode con cols=100 lines=30<br>rem The code above changes the size of the program.<br>rem The &quot;rem&quot; command means that you can take notes while programming.<br>rem It has no effect on the output of your program.<br>color 0f<br>:login<br>cls<br>echo.<br>echo App Player Made by Me! (someone else made this)<br>echo.<br>set /p user=enter passcode:<br>if %user%==&quot;&quot; goto welcome<br>start welcom.vbs<br>:welcome<br>cls<br>echo &Uacute;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&iquest;<br>echo &sup3;Welcome to the app chooser I didn't make! &sup3;<br>echo &sup3;Feel free to browse around maybe even go to the membership section. &sup3;<br>echo &sup3;I made this so that people with a member status can look at the other half of the apps!_!&sup3;<br>echo &sup3;(p.s. Members can add new links and app ideas!) &sup3;<br>echo &Agrave;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Auml;&Ugrave;<br>echo.<br>echo 1) Facebook *<br>echo 2) Youtube *<br>echo 3) Ourworld *<br>echo 4) Downworld *<br>echo 5) Happy wheels *<br>echo 6) Gmail * <br>echo 7) go to membership stuff *(you will need internet)<br>set /p user=NUMBER:<br>del welcom.vbs<br>if %user%==1 start <a href="https://www.facebook.com/" rel="nofollow">https://www.facebook.com/</a><br>if %user%==2 start <a href="http://www.youtube.com/" rel="nofollow">http://www.youtube.com/</a><br>if %user%==3 start <a href="http://web2.ourworld.com/ow/?env=home" rel="nofollow">http://web2.ourworld.com/ow/?env=home</a><br>if %user%==4 start <a href="http://dweb1.downworld.com/dw/?env=home" rel="nofollow">http://dweb1.downworld.com/dw/?env=home</a><br>if %user%==5 start <a href="http://www.totaljerkface.com/happy_wheels.php" rel="nofollow">http://www.totaljerkface.com/happy_wheels.php</a><br>if %user%==6 start <a href="https://accounts.google.com/ServiceLogin?service=mail&passive=true&rm=false&continue=http://mail.google.com/mail/&scc=1" rel="nofollow">https://accounts.google.com/ServiceLogin?service=mail&amp;passive=true&amp;rm=false&amp;continue=http://mail.google.com/mail/&amp;scc=1</a><br>if %user%==7 goto member<br>cls<br>echo Sorry, that wasn't an option!<br>pause<br>goto welcome<br>:member<br>cls<br>echo Welcome to the members area, where you can earn a membeship/membership<br>echo money by simply answering random questions!<br>echo.<br>echo 1) I have a membership, now what do i do with it?<br>echo 2) Why wont my membership work?<br>echo 3) I like waffles!<br>echo 4) What does my membership have to offer me?<br>echo 5) I want to insert my passcode for the weekly membership<br>echo 6) Back to main menu.<br>set /p member=enter option:<br>if %member%==1 goto whatnow<br>if %member%==2 goto whywontitwork<br>if %member%==3 goto waffle<br>if %member%==4 goto whatwill<br>if %member%==5 goto pass<br>if %member%==6 goto welcome<br>cls<br>echo That wasn't an option!<br>pause<br>goto member<br>:whatnow<br>cls<br>echo You can go to the member area and enter your code under the number five (5) option.<br>pause<br>goto member<br>:whywontitwork<br>cls<br>echo You probably have a bad code, typed it in wrong, or maybe the programmer<br>echo mistyped the code into the program and you have the right code, <br>echo either way talk to mike and he will resolve it free of charge!<br>pause<br>goto member<br>:waffle<br>cls<br>echo Pancakes are better!<br>pause<br>goto member<br>:whatwill<br>cls<br>echo Membership will give you access to 5 exclusive apps, as well as you will be able to make suggestions<br>echo as to what apps should be on here and also have permission to get up to 2 links/apps of your choice<br>echo put on here, and with super membership (coming soon) you will even be able yo have your own<br>echo passcode on them to keep them safe and yours alone from those unsightly noobs.<br>pause<br>goto member<br>:pass<br>cls<br>echo Type &quot;back&quot; to go to the main menu.<br>echo.<br>set /p user=enter membership code now:<br>if %user%==cheatcode46 goto memblist<br>if %user%==back goto welcome<br>goto wrong<br>:wrong<br>cls<br>echo No, please try again.<br>pause&gt;nul<br>goto pass<br>:memblist<br>cls<br>echo Welcome to the members area, as I know you have earned the usage of these apps<br>echo (some of which are exclusive to app chooser).<br>echo.<br>echo 1) Calculator<br>echo 2) Random flashing colors (can only exit by closing and reopening app chooser)<br>echo 3) DOGS<br>echo 4) BLUE BALL MACHINE!<br>echo 5) coming soon!<br>echo 6) Main Menu<br>set /p anything=Make a choice, member:<br>if %anything%==1 goto calc<br>if %anything%==2 goto color<br>if %anything%==3 goto dog<br>if %anything%==4 goto bluemachine<br>if %anything%==6 goto welcome<br>cls<br>echo That wasn't an option!<br>pause<br>goto memblist<br>:dog<br>cls<br>echo Turn down your sound, but enough to where you can still<br>echo hear the music.<br>timeout 3 &gt;nul<br>start iexplore.exe <a href="http://omfgdogs.com/" rel="nofollow">http://omfgdogs.com/</a><br>goto memblist<br>:bluemachine<br>cls<br>echo Turn down your sound, but enough to where you can still<br>echo hear the music.<br>timeout 3 &gt;nul<br>start iexplore.exe <a href="https://www.haneke.net/" rel="nofollow">https://www.haneke.net/</a><br>goto memblist <br>:calc<br>CLS<br>echo ------------------------------------------------------<br>echo Welcome To the calculator Brought To You By mike<br>echo ------------------------------------------------------<br>echo To Exit Write Exit<br>echo.<br>echo + is plus, / is divide, * is multiply<br>set /p sum=<br>if &quot;%sum%&quot;==&quot;exit&quot; goto memblist<br>set /a ans=%sum%<br>echo.<br>echo The Answer Is: %ans%<br>echo --------------------------------------------------<br>pause<br>cls<br>goto calc<br>:color<br>:begin<br>color 12<br>color 22<br>color 32<br>color 42<br>color 52<br>goto begin</p>
<p>Sorry, it is so long. Please tell me if there are any problems with it.</p><p>I NOW PASS THIS CODE ON TO A NEW PROGRAMMER, TO EDIT, TO LEARN, AND TO MAKE BETTER!</p>
awesome program!!!you can even add vbscript to make it even more advanced.for win7 and vista pc's, vbs code <br>Set ai = Wscript.CreateObject(&quot;SAPI.SpVoice&quot;) <br>ai.speak&quot;[insert the phrase here]&quot; <br>can make the computer speak it all!!!
:D not bad actually, i have almost forgotten batch after moving on to c++, but thank you, i appreciate it!

About This Instructable

3,924views

6favorites

License:

More by Daschizznit:Batch programming (slightly advanced) 
Add instructable to: