@echo off :START echo ************************************* echo Install Bible Programs to a new drive echo ************************************* echo . set drive=%1 if "drive"=="" goto FINDDRIVE if not exist %drive%:\NUL goto FINDDRIVE goto GOTDRIVE :FINDDRIVE strings drive=ask Enter TARGET drive letter & press ENTER ,1 :GOTDRIVE if not exist %drive%:\NUL goto NODRIVE md %drive%:\install md %drive%:\installed xxcopy16 bible\bible.txt %drive%:\install echo Image will be copied to %drive%:\install
Display a list of programs that can be copied. If the user enters A all Bible programs will be copied. If the user enters 1 then the shareware program BiblePro will be copied. If the user enters 2 then both Free Bible (KJV) and MBible (NIV) will be copied.
:IMAGE
echo .
echo (A)All
echo (1)BiblePro, 36mb Shareware
echo (2)Free Bible, 16mb
echo MBible 1.5mb
echo (3)Theopolis (great Bible and theology program), 9.5mb
echo (4)Heavens declair (Christian splash screen) 1mb
echo Screenminder (Good screensaver) 7.5mb
echo Wonderouse works (background/screensaver) 4mb
echo (5)Bible xreferance (study cross referance tool) 7mb
echo Gospell Parallels (parallele study guid) 1mb
echo King James dictionary (good Bible dictionary) 0.5mb
echo What the Bible says about it 8.5mb
echo (6)Bible verse plus (daily bible verse, good)
echo CC calender (Small christian calender pops up, good)
echo Sword searcher (good Bible search engin)
echo Virtual hymnal (program to help you write sheet music) 1.9mb
echo Sword tamer (read the bible in a year program)
echo Lamp Resourses (good set of bible writings) 2.6mb
echo (7)Other Faiths
echo Torah
echo Qu'ran (Koran) 3 versions
echo (X)Exit
echo ****Press number to choose image****
Prompt for a character to be entered, and based on the character entered, the errorlevel will be set to a particular value, which indicates what character was entered. Based on the errorlevel, branch to the appropriate code to do the copying.
choice /c:1234567AX /n
if errorlevel 9 goto END
if errorlevel 8 goto ALL
if errorlevel 7 goto 7
if errorlevel 6 goto 6
if errorlevel 5 goto 5
if errorlevel 4 goto 4
if errorlevel 3 goto 3
if errorlevel 2 goto 2
if errorlevel 1 goto 1
goto NOT
Copy all programs and then go to END
:ALL
xxcopy16 bible\MBible10.zip %drive%:\install
xxcopy16 bible\biblepro.exe %drive%:\install
xxcopy16 bible\freebibl.exe %drive%:\install
xxcopy16 bible\theo_300.zip %drive%:\install
xxcopy16 bible\heaven10.exe %drive%:\install
xxcopy16 bible\relscreen.exe %drive%:\install
xxcopy16 bible\wnwks.zip %drive%:\install
xxcopy16 bible\bxref.zip %drive%:\install
xxcopy16 bible\gospel10.exe %drive%:\install
xxcopy16 bible\kjdict20.exe %drive%:\install
xxcopy16 bible\whdemo.exe %drive%:\install
xxcopy16 bible\bv_setup.exe %drive%:\install
xxcopy16 bible\cccal_15.zip %drive%:\install
xxcopy16 bible\sword1.zip %drive%:\install
xxcopy16 bible\vhymnl.zip %drive%:\install
xxcopy16 bible\stamer10.exe %drive%:\install
xxcopy16 bible\wlmp0012.zip %drive%:\install
xxcopy16 bible\toralaam.zip %drive%:\install
xxcopy16 bible\AlQuran1.zip %drive%:\install
xxcopy16 bible\quran.zip %drive%:\install
xxcopy16 bible\QuranTrans.exe %drive%:\install
goto END
:1
xxcopy16 bible\biblepro.exe %drive%:\install
goto IMAGE
Copy Free Bible (KJV) and MBible (NIV), and then loop back to IMAGE to see what other programs should be copied.
:2
xxcopy16 bible\freebibl.exe %drive%:\install
xxcopy16 bible\MBible10.zip %drive%:\install
goto IMAGE
:3
xxcopy16 bible\theo_300.zip %drive%:\install
goto IMAGE
:4
xxcopy16 bible\heaven10.exe %drive%:\install
xxcopy16 bible\relscreen.exe %drive%:\install
xxcopy16 bible\wnwks.zip %drive%:\install
goto IMAGE
:5
xxcopy16 bible\bxref.zip %drive%:\install
xxcopy16 bible\gospel10.exe %drive%:\install
xxcopy16 bible\kjdict20.exe %drive%:\install
xxcopy16 bible\whdemo.exe %drive%:\install
goto IMAGE
:6
xxcopy16 bible\bv_setup.exe %drive%:\install
xxcopy16 bible\cccal_15.zip %drive%:\install
xxcopy16 bible\sword1.zip %drive%:\install
xxcopy16 bible\vhymnl.zip %drive%:\install
xxcopy16 bible\stamer10.exe %drive%:\install
xxcopy16 bible\wlmp0012.zip %drive%:\install
goto IMAGE
:7
xxcopy16 bible\toralaam.zip %drive%:\install
xxcopy16 bible\AlQuran1.zip %drive%:\install
xxcopy16 bible\quran.zip %drive%:\install
xxcopy16 bible\QuranTrans.exe %drive%:\install
goto IMAGE
:8
xxcopy16 bible\ %drive%:\install
xxcopy16 bible\ %drive%:\install
xxcopy16 bible\ %drive%:\install
xxcopy16 bible\ %drive%:\install
xxcopy16 bible\ %drive%:\install
xxcopy16 bible\ %drive%:\install
goto IMAGE
:NODRIVE
echo Drive not found, cannot continue
pause
goto exit
:NOT
echo File CHOICE.COM not found, cannot continue
echo .
goto exit
:END
if %2==transfer goto exit
dir %drive%:\install
set drive=
set cab=
set whatcab=
pause
cls
:exit