Introduction: The Interface

In this Instructable I will show my Interface.

Its password Protected, It has a set trial period (By that I mean you can only open it ten times but I will show you how to get around it) and a choice of 10 options to carry out.

1.Calculator.
2.Explorer.
3.Lock the file with a password.
4.Shutdown the computer with your settings.
eg How long til shutdown.
5.Make a Cmd command inside The interface.
6.Start a new notepad document.
7.Start windows media player.
8.Use Run in the interface.
9.If you don't like the color change it !!!
10. The close button on the top right hand corner.

Step 1: The Code

Below is the code if you can't download it. Copy and paste into notepad and save as whatever.bat

echo off
set penalty=explorer.exe
if not exist dnregy  goto regy
if exist 10 goto end
title Do you wish to continue ?
:start
cls
echo Do you Wish to use one of your refills?
echo or do you want to refill your pack?
echo Remember this will use one of your refills
echo Y/N or R
set/p "cho=>"
if %cho%==N goto exit
if %cho%==n goto exit
if %cho%==Y goto 1
if %cho%==y goto 1
if %cho%==r goto titleN
if %cho%==R goto titleN
if %cho%==s goto Begining
echo Incorrect Selection
ping localhost -n 4 > nul
goto start
:end
cls
Title Stop!!!
echo Your Trial has expired
echo Please Enter your new registration key
echo from your provider or if you do not have a key yet
echo Please go back to our website.
pause >nul
goto reset
:exit
exit
:titleN
title Please Enter your new key
:reset
cls
echo Please Enter Your Registration Key
set/p "cho=>"
if %cho%==54hjk-57hbf goto fill1
if %cho%==43gvg-34sdf goto fill2
if %cho%==54fvl-54dck goto fill3
if %cho%==75fdu-87gij goto fill4
if %cho%==54hjf-54vgr goto fill5
if %cho%==34gft-43brg goto fill6
:failure
echo Incorrect Registration Key
echo The Registration Key has either
echo been used before or has been typed
echo incorrectly! Please Try Again
ping localhost -n 8 > nul
goto reset
:1
title Press Any Key!!!
if exist 1 goto 2a
md 1
attrib 1 +s +h +r +a
cls
echo 9 uses remaining
pause >nul
goto Begining
:2a
if exist 2 goto 3
md 2
attrib 2 +s +h +r +a
cls
echo 8 uses remaining
pause >nul
goto Begining
:3
if exist 3 goto 4
md 3
attrib 3 +s +h +r +a
cls
echo 7 uses remaining
pause >nul
goto Begining
:4
if exist 4 goto 5
md 4
attrib 4 +s +h +r +a
cls
echo 6 uses remaining
pause >nul
goto Begining
:5
if exist 5 goto 6
md 5
attrib 5 +s +h +r +a
cls
echo 5 uses remaining
pause >nul
goto Begining
:6
if exist 6 goto 7
md 6
attrib 6 +s +h +r +a
cls
echo 4 uses remaining
pause >nul
goto Begining
:7
if exist 7 goto 8
md 7
attrib 7 +s +h +r +a
cls
echo 3 uses remaining
pause >nul
goto Begining
:8
if exist 8 goto 9
md 8
attrib 8 +s +h +r +a
cls
echo 2 uses remaining
pause >nul
goto Begining
:9
if exist 9 goto 10
md 9
attrib 9 +s +h +r +a
cls
echo 1 use remaining
pause >nul
goto Begining
:10
if exist 10 goto end
md 10
attrib 10 +s +h +r +a
cls
echo Expired Please refill after this use
pause >nul
:Begining
cls
set title=________________________________________________________________________________
set title2=                                  The Interface
title The Interface
:Lock2
set tries=4
:Lock
set /a tries=%tries% -1
if %tries%==0 (
goto penalty
)
cls
echo %title%
Echo %title2%                
echo %title%
echo Please Unlock The Interface
set /p password=
if %password%==cow (
goto 2
) else (
echo Incorrect
echo %tries% Attempts Left
pause > nul
goto Lock
)
goto Lock
GOTO Lock


:2
cls
echo %title%
Echo %title2%                
echo %title%
echo.
echo Type 1 for the Calculator.
echo Type 2 for Explorer.
echo Type 3 to Lock The Interface.
echo Type 4 to Shutdown, Logoff etc.
echo Type 5 to start cmd.
echo Type 6 to start notepad.
ECHO Type 7 to start Windows Media Player.
ECHO Type 8 to start Any Program from the windows folder.
echo Type 9 to change the colour of the text.
set/p "cho=>"
if %cho%==6 goto note
if %cho%==5 goto cmd
if %cho%==1 goto calc
if %cho%==2 goto exp
if %cho%==3 goto Lock2
if %cho%==4 goto Shut
if %cho%==7 goto WMEDIA
if %cho%==8 goto run
if %cho%==9 goto COLOUR
echo INCORRECT SELECTION
echo PLEASE TRY AGAIN
pause > nul
goto 2

:COLOUR
cls
echo %title%
Echo %title2%                
echo %title%
echo To change color first type in the color of the background
echo and then the color of the text. The background CANNOT be
echo the same as the text.
echo (ex. 02 would result in green text on a black background)
echo Type menu to goto main menu
echo.
echo.
echo -----------------
echo       Colors
echo -----------------
echo  0- Black
echo  1- Blue
echo  2- Green
echo  3- Aqua
echo  4- Red
echo  5- Purple
echo  6- Yellow
echo  7- White
echo  8- Grey
echo  9- Light Blue
echo  A- Light Green
echo  B- Light Aqua
echo  C- Light Red
echo  D- Light Purple
echo  E- Light Yellow
echo  F- Bright Whight
echo -----------------
set notspecified=
set /p notspecified=Choose Color:
if %notspecified%==menu goto 2
color %notspecified%
goto 2

:exp
cls
echo %title%
Echo %title2%                
echo %title%
echo Where Do you want to Open it?
echo C for the Computer Drive
echo N for normal
echo R to go back to the start of the interface
ECHO CUS to enter a different directory
set/p "cho=>"

if %cho%==C goto Comp
if %cho%==c goto Comp
if %cho%==N goto normal
if %cho%==n goto Normal
if %cho%==R goto 2
if %cho%==r goto 2
if %cho%==CUS goto CUSEXPLORER
echo INCORRECT SELECTION
echo PLEASE TRY AGAIN
ping localhost -n 5 > nul
goto exp
:Comp
start explorer.exe C:\
goto 2

:normal
start explorer.exe
goto 2

:CUSEXPLORER
CLS
echo %title%
Echo %title2%                
echo %title%
set /p DestExp= Enter Directory:
start explorer.exe %DestExp%
goto 2

:Shut
cls
echo %title%
Echo %title2%                
echo %title%
echo A to Abort Shutdown
echo S to Shutdown
echo L to Logoff
echo R to Restart the Computer
echo RI to go back to the start of the interface
set/p "cho=>"

if %cho%==a goto Abort
if %cho%==A goto Abort
if %cho%==S goto Shutdown
if %cho%==s goto Shutdown
if %cho%==L goto Logoff
if %cho%==l goto Logoff
if %cho%==r goto Restart
if %cho%==R goto Restart
if %cho%==RI goto 2
echo INCORRECT SELECTION
echo PLEASE TRY AGAIN
ping localhost -n 5 > nul
goto Shut

:Abort
shutdown -a
goto 2

:Shutdown
cls
echo %title%
Echo %title2%                
echo %title%
ECHO Please Enter The Folowing
set /p second= SECONDS before shutdown:
set /p minute= MINUTES before shutdown:
set /a minute=minute"*"60
set /p hour= HOURS before shutdown:
set /a hour=hour"*"3600
set /a shutdown=second"+"minute"+"hour
shutdown -s -t %shutdown%
goto Shut

:Logoff
shutdown -l
goto Shut

:Restart
cls
echo %title%
Echo %title2%                
echo %title%
ECHO Please Enter The Folowing
set /p second= SECONDS before shutdown:
set /p minute= MINUTES before shutdown:
set /a minute=minute"*"60
set /p hour= HOURS before shutdown:
set /a hour=hour"*"3600
set /a shutdown=second"+"minute"+"hour
shutdown -r -t %shutdown%
goto Shut

:note
start notepad
goto 2

:cmd
cls
echo %title%
Echo %title2%                
echo %title%
echo To go back to the first menu type goto 2
set /p comm=Command :
if %comm%==MENU goto 2
%comm%
pause > nul
goto cmd

:run
cls
echo %title%
Echo %title2%                
echo %title%
set /p RUNNER= Program Name:
start %RUNNER%
goto 2

:calc2
Start Calc.exe
goto 2

:calc
echo off
cls
echo %title%
Echo %title2%                
echo %title%
echo Press S to Subtract,
echo Press A to Add,
echo Press X to Multiply,
echo Press D to Divide,
echo C to start the Windows calculator and
echo R to go back to the The Interface.
set/p "cho=>"

if %cho%==a goto Add
if %cho%==A goto Add
if %cho%==S goto Subtract
if %cho%==s goto Subtract
if %cho%==D goto Divide
if %cho%==d goto Divide
if %cho%==X goto Multi
if %cho%==x goto Multi
if %cho%==R goto 2
if %cho%==c goto calc2
if %cho%==C goto calc2
echo Incorrect Selection!!!
pause >nul
goto calc
:Add
cls
echo %title%
Echo %title2%                
echo %title%
set /p Kickass= Starting Number:
set /p Kick= Add To It:
set /a Answer=Kickass"+"Kick
echo %Answer%
pause >nul
goto calc
:Subtract
cls
echo %title%
Echo %title2%                
echo %title%
set /p Kickman= Starting Number:
set /p Kickwomen= Subtract From It:
set /a Answerman=Kickman"-"Kickwomen
echo %Answerman%
pause >nul
goto calc
:Multi
cls
echo %title%
Echo %title2%                
echo %title%
set /p KickTimes= Starting Number:
set /p KickAn= Times It By:
set /a AnswerTimes=KickTimes"*"KickAn
echo %AnswerTimes%
pause >nul
goto calc
:Divide
cls
echo %title%
Echo %title2%                
echo %title%
set /p KickDivide= Starting Number:
set /p KickDivi= Divide It By:
set /a AnswerDivide=KickDivide"/"KickDivi
echo %AnswerDivide%
pause >nul
goto calc

:WMEDIA
START WMPLAYER.EXE
GOTO 2

:penalty
start %penalty%
exit

:fill1
title Refill
cls
if exist fill1 goto failure
cls
echo Refill Pending
ping localhost -n 4 > nul
cls
md fill1
attrib fill1 +s +h +r +a
ping localhost -n 4 > nul
goto reset2
:fill2
title Refill
cls
if exist fill2 goto failure
cls
echo Refill Pending
ping localhost -n 4 > nul
cls
md fill2
attrib fill2 +s +h +r +a
ping localhost -n 4 > nul
goto reset2
:fill3
title Refill
cls
if exist fill3 goto failure
cls
echo Refill Pending
ping localhost -n 4 > nul
cls
md fill3
attrib fill3 +s +h +r +a
ping localhost -n 4 > nul
goto reset2
:fill4
title Refill
cls
if exist fill4 goto failure
cls
echo Refill Pending
ping localhost -n 4 > nul
cls
md fill4
attrib fill4 +s +h +r +a
ping localhost -n 4 > nul
goto reset2
:fill5
title Refill
cls
if exist fill5 goto failure
cls
echo Refill Pending
ping localhost -n 4 > nul
cls
md fill5
attrib fill5 +s +h +r +a
ping localhost -n 4 > nul
goto reset2
:fill6
title Refill
cls
if exist fill6 goto failure
cls
echo Refill Pending
ping localhost -n 4 > nul
cls
md fill6
attrib fill6 +s +h +r +a
ping localhost -n 4 > nul
:reset2
cls
title Refill
attrib 1 -s -h -r -a
attrib 2 -s -h -r -a
attrib 3 -s -h -r -a
attrib 4 -s -h -r -a
attrib 5 -s -h -r -a
attrib 6 -s -h -r -a
attrib 7 -s -h -r -a
attrib 8 -s -h -r -a
attrib 9 -s -h -r -a
attrib 10 -s -h -r -a
rd 1
rd 2
rd 3
rd 4
rd 5
rd 6
rd 7
rd 8
rd 9
rd 10
ping localhost -n 4 > nul
cls
:PRestart
echo Do you Wish to restart the program?
echo (Highly Recomended)
echo Y/N
set/p "cho=>"
if %cho%==N goto exit
if %cho%==n goto exit
if %cho%==Y goto stre
if %cho%==y goto stre
echo Incorrect Selection
ping localhost -n 4 > nul
goto PRestart
:stre
cls
echo Restart Pending
ping localhost -n 4 > nul
cls
echo Closing Applications
ping localhost -n 4 > nul
exit

:regy
set Tries=6
title This Is The programs first start
cls
echo Please Enter Your Name Below
set /a tries=%tries% -1
if %tries%==0 (
goto penalty
)
set /p password=
if %password%==cow (
goto regy2
) else (
echo Incorrect Name
echo %tries% Attempts Left
ping localhost -n 5 > nul
goto regy
)
goto regy
:regy2
cls
echo Please Enter Your Registration Code Below
set /a tries=%tries% -1
if %tries%==0 (
goto penalty
)
set /p password=
if %password%==15cow-67frg (
md dnregy
attrib dnregy +s +h +r +a
goto PRestart
) else (
echo Incorrect Registration Code
echo %tries% Attempts Left
ping localhost -n 5 > nul
goto regy2
)
goto regy2
 

Step 2: How to Start

When you first open it, it will come up with
Please enter your name below
where it says that put

cow

and after that it will say
please enter your regisratration code
then enter

15cow-67frg

This starts the trial period.

Step 3: After

After you have closed and open it again you will be prompted:

Do you wish to use one of your refills? or do you want to refill your pack?
Remember this will use one of your refills.

(Refills are on a whole the 10 uses)

Y will continue and use one of your trial starts (1 of 10)
N will close it and use none
R will alow you to enter a new registration code when the ten have run out 
The codes are:

54hjk-57hbf

43gvg-34sdf

54fvl-54dck

75fdu-87gij

54hjf-54vgr

34gft-43brg

or if you wish to cheat press s and it will skip to The login screen

Step 4: Once You've Started

Once your in  you will be prompted for a password again the password is

cow

you then

Step 5: The Reset File

The reset file  will reset the program back to ten uses with no registration code at all !!!

The Complete delete makes you do step 1 again but normal delete just sets the ten uses to nil uses.

Step 6: ANY IDEAS?

If you have any ideas for my next interface version message me or leave a comment and I promise that you will have recognition for anything that I have used it for

Thank you (IN ADVANCE)