home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
-
- if not exist ULTPOKER.EXE goto noFile
-
- if "%1" == "" goto help
- if "%2" == "" goto noPath
-
- if errorlevel 1 goto errorMsg
-
- :path
-
- for %%A in (A B C D E F G H I J K L a b c d e f g h i j k l) do if !%1 == !%%A goto okay1
- goto help
-
- :okay1
-
- for %%A in ( : \ ) do if !%2 == !%%A goto help
-
- echo . INSTALLING TO DRIVE %1:\%2
-
- echo .
- echo .
- echo . ULTIMATE POKER INSTALLATION
- echo .
- md %1:\%2
- echo . COPYING FILES
- copy *.exe %1:\%2
- goto success1
-
- :noPath
-
- for %%A in (A B C D E F G H I J K L a b c d e f g h i j k l) do if !%1 == !%%A goto okay
-
- goto help
-
- :okay
-
- for %%A in (\ :) do if !%1 == !%%A goto help
-
- echo . INSTALLING TO DRIVE %1:\POKER
- echo .
- echo .
- echo ULTIMATE POKER INSTALLATION
- echo .
- md %1:\poker
- echo COPYING FILES
- copy *.exe %1:\poker
-
- if errorlevel 1 goto errorMsg
-
- goto success2
-
- :help
- cls
- @echo off
- echo .
- echo . ULTIMATE POKER INSTALL UTILTIY
- echo .
- echo . This program must be installed on a hard drive. To install this
- echo . program on C drive, you would type "INSTALL C". This will put the
- echo . game in the directory "POKER". If you wish to install this
- echo . game to a different directory, type "INSTALL C name of directory"
- echo .
- echo . EXAMPLE: to install to D drive in the directory GAMES type......
- echo .
- echo "INSTALL D GAMES"
- goto end
-
- :noFile
- cls
- echo .
- echo . AN ERROR HAS OCCURRED, INSTALLATION WAS UNSUCCESSFUL
- echo .
- echo . Sorry, the file "ULTPOKER.EXE" is not on this disk. This file must
- echo . be available in this directory to attempt installation of this game.
- echo . Please check all directories for this file. If found copy it to this
- echo . directory and type "INSTALL" to continue.
-
- goto end
-
- :msg
- cls
- echo . AN ERROR HAS OCCURRED, INSTALLATION WAS UNSUCCESSFUL
- echo .
- echo . Sorry, at least one file required to run ULTIMATE POKER is missing.
- echo . The disk may be too full to allow for all files to be decompressed or
- echo . your souce disk may be bad. You must have at least 2.5 mega bytes of
- echo . Hard Disk space for successful installation.
- goto end
-
- :errorMsg
- cls
- echo .
- echo .
- echo . AN ERROR HAS OCCURRED, INSTALLATION WAS UNSUCCESSFUL
-
- goto end
-
- :success1
-
- cls
- echo .
- echo .
- echo . DECOMPRESSING FILES
- echo .
- %1:
- cd %1:\%2
- if not exist ULTPOKER.EXE goto errorMsg
- ULTPOKER.EXE
- DEL ULTPOKER.EXE
-
- @echo off
- cls
- if not exist P1.EXE goto msg
-
- goto endMessage
-
- :success2
-
- cls
- echo .
- echo .
- echo . DECOMPRESSING FILES
- echo .
- %1:
- cd %1:\POKER
- if not exist ULTPOKER.EXE goto errorMsg
- ULTPOKER.EXE
- DEL ULTPOKER.EXE
-
- @echo off
- cls
- if not exist P1.EXE goto msg
-
- :endMessage
-
- echo .
- echo .
- echo . INSTALLATION COMPLETE
- echo . TYPE "POKER" TO RUN ULTIMATE POKER
- echo . or
- echo . "POKERMAN" TO READ THE GAME DOCUMENTATION
- echo .
- echo . TO RUN THIS GAME IN THE FUTURE YOU NEED TO CHANGE TO THE DIRECTORY
- echo . THAT THE GAME WAS INSTALLED TO THEN TYPE "POKER" AND PRESS ENTER
- echo .
- echo . EXAMPLE WITH THE GAME INSTALLED TO THE DIRECTORY "POKER". AFTER
- echo . YOUR COMPUTER BOOTS UP, TYPE "CD\POKER" THEN PRESS ENTER. TYPE
- echo . "POKER" AND PRESS ENTER. IF THIS GAME WAS INSTALLED TO A
- echo . DIRECTORY OTHER THAN POKER, SUBSTITUTE THE DIRECORY NAME FOR
- echo . POKER IN THE STATEMENT "CD\POKER".
- echo .
- echo . NOTE: This game will attempt to use expanded memory if it is detected.
- echo . If the game will not run or causes system lock up or behaves erratically,
- echo . there may be a conflict with your expanded memory manager. If this is
- echo . the case, use the command line switch "/N" when starting the program. To
- echo . use this switch to eliminate expanded memory calls, type "UBJ /N" then push
- echo . return. This will force the game to use conventional memory only. When
- echo . using only conventional memory, the game will require more free conven-
- echo . tional free RAM. NOTE: You must have the RAM switch set in place of the
- echo . NOEMS switch on the EMM386.EXE line of your config.sys file before your
- echo . computer can use extended memory for expanded memory.
-
- :end
-