home *** CD-ROM | disk | FTP | other *** search
- ECHO OFF
- CLS
- IF "%1"=="A:" GOTO options
- IF "%1"=="a:" GOTO options
- IF "%1"=="B:" GOTO options
- IF "%1"=="b:" GOTO options
- IF "%1"=="C:" GOTO options
- IF "%1"=="c:" GOTO options
- IF "%1"=="D:" GOTO options
- IF "%1"=="d:" GOTO options
- IF "%1"=="E:" GOTO options
- IF "%1"=="e:" GOTO options
- IF "%1"=="F:" GOTO options
- IF "%1"=="f:" GOTO options
- ECHO PC HOME MEGADISK INSTALLATION
- echo[
- ECHO Indicate which drive to copy the programs to. Type:
- echo[
- ECHO PCHOME A: Copy files to drive A:
- ECHO PCHOME B: Copy files to drive B:
- ECHO PCHOME C: Copy files to drive C:
- ECHO and so on...
- echo[
- GOTO exit
- REM ===================== Options menu screen ================================
- :options
- CLS
- data\menu
- :getoption
- data\getnum
- REM returns 0=48/1=49/2=50...
- IF ERRORLEVEL 54 GOTO getoption
- IF ERRORLEVEL 53 GOTO exit1
- IF ERRORLEVEL 52 GOTO subs
- IF ERRORLEVEL 51 GOTO help3
- IF ERRORLEVEL 50 GOTO help2
- IF ERRORLEVEL 49 GOTO help1
- GOTO getoption
- :help1
- CALL data\help.bat 1
- GOTO options
- :help2
- CALL data\help.bat 2
- GOTO options
- :help3
- CALL data\help.bat 3
- GOTO options
- REM ======================== Subscription advert =============================
- :subs
- data\pchsubs
- data\getnum
- REM ===================== Display the main menu ==============================
- :mainmenu
- CLS
- data\screen
- :getprog
- data\getnum
- IF ERRORLEVEL 54 GOTO getprog
- IF ERRORLEVEL 53 GOTO five
- IF ERRORLEVEL 52 GOTO four
- IF ERRORLEVEL 51 GOTO three
- IF ERRORLEVEL 50 GOTO two
- IF ERRORLEVEL 49 GOTO one
- IF ERRORLEVEL 48 GOTO exit1
- GOTO getprog
- REM ========================== Program 1 =====================================
- :one
- cls
- type data\1.txt
- echo[
- echo ---------- Do you want to install this program to drive %1 (Y/N)? --------
- data\yesno
- IF ERRORLEVEL 1 GOTO get1
- GOTO mainmenu
- :get1
- CLS
- data\1 %1\brutal
- PAUSE
- GOTO mainmenu
- REM ======================= Program 2 ========================================
- :two
- cls
- type data\2.txt
- echo[
- echo ---------- Do you want to install this program to drive %1 (Y/N)? --------
- data\yesno
- IF ERRORLEVEL 1 GOTO get2
- GOTO mainmenu
- :get2
- CLS
- data\2 %1\gob3
- PAUSE
- GOTO mainmenu
- REM ======================= Program 3 ========================================
- :three
- cls
- type data\3.txt
- echo[
- echo ---------- Do you want to install this program to drive %1 (Y/N)? --------
- data\yesno
- IF ERRORLEVEL 1 GOTO get3
- GOTO mainmenu
- :get3
- CLS
- data\3 %1\vistapro
- PAUSE
- GOTO mainmenu
- REM ======================= Program 4 ========================================
- :four
- cls
- type data\4.txt
- echo[
- echo -------- Do you want to install these programs to drive %1 (Y/N)? --------
- data\yesno
- IF ERRORLEVEL 1 GOTO get4
- GOTO mainmenu
- :get4
- CLS
- data\4 %1\
- PAUSE
- GOTO mainmenu
- REM ======================= Program 5 ========================================
- :five
- cls
- type data\5.txt
- echo[
- echo -------- Do you want to install these programs to drive %1 (Y/N)? --------
- data\yesno
- IF ERRORLEVEL 1 GOTO get5
- GOTO mainmenu
- :get5
- CLS
- data\5 %1\
- PAUSE
- GOTO mainmenu
- REM ============================ Exit to Dos =================================
- :exit1
- CLS
- :exit
-