home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zodiac Super OZ
/
MEDIADEPOT.ISO
/
FILES
/
03
/
HQFAX51.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-05-05
|
5KB
|
123 lines
Echo off
REM *********************************************************************/
REM */
REM SYSTEM : HQ-FAX */
REM COPYRIGHT : (c) 1996 HTF CONSULTING */
REM */
REM *********************************************************************/
REM */
REM BAT file name: Install.bat */
REM DESCRIPTION : This batch file drives the Installation prodecure */
REM for the HQ-FAX product */
REM Install Batch file for One-Step High Quality FAX */
REM */
REM *********************************************************************/
REM
CLS
Echo *************************************************************************
Echo * Welcome to the HQ-FAX Installation Procedure *
Echo * Copyright (C) 1996 HTF Consulting *
Echo *************************************************************************
Echo *
Echo To install HQ-FAX into the directory C:\HQFAX, just enter "Install"
Echo To install HQ-FAX into any other directory, enter "Install X:\dirname"
Echo Where 'X' is the drive name ( C, D, E, etc.) & "dirname" is the directory.
Echo Example(1): "INSTALL "
Echo Example(2): "INSTALL C:\MYFAXDIR"
Echo Example(3): "INSTALL D:\HQFAX"
Echo *
if "%1" == "" goto verify
Echo WARNING!!! If you have entered a directory name without a drive letter
Echo or a drive letter without a directory name the installation will fail.
Echo Compare your input to the examples above.
Echo YOUR INPUT WAS: "%0 %1"
Echo *
:verify
if "%1" == "" Echo Press {spacebar} to install HQ-FAX into the drive:directory C:\HQFAX
if not "%1" == "" Echo Press {spacebar} to install HQ-FAX into the drive:directory %1
Echo *
Echo Enter [CNTL_C] to abort, OR...
Pause
if exist c:\hqfax.bat goto previnstl
REM if "%1" == "" if exist C:\HQFAX\*.* goto previnstl
REM if not "%1" == "" if exist %1\*.* goto previnstl
goto install
:previnstl
CLS
Echo ATTENTION! ATTENTION! ATENTION!
Echo A previous installation of HQ-FAX is detected. You must completely remove
Echo HQ-FAX before re-installing. Contact HTF Consulting (510) 521-1689
goto Abort
:install
CLS
Echo When the installation is complete the screen will clear and informative
Echo messages will appear!
Echo *
Echo Copying files .....
if not "%1" == "" goto Userdir
mkdir c:\HQFAX
copy *.* c:\HQFAX
Setpath.exe HQFAX HQFAX
Setpath.exe FAXIT HQFAX
REM erase c:\hqfax\setpath.exe
REM erase c:\hqfax\install.bat
REM erase c:\hqfax\hqfinfo.bat
goto Quit
:Userdir
mkdir %1
copy *.* %1
Setpath.exe HQFAX %1
Setpath.exe FAXIT %1
erase %1\setpath.exe
REM erase %1\install.bat
REM erase %1\hqfinfo.bat
:Quit
CLS
Call HQFinfo.bat
Echo Print this screen if you like, and then ...
pause
CLS
Echo **** ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! ****
Echo *
if "%1" == "" Echo HQ-FAX is installed into the directory C:\HQFAX.
if not "%1" == "" Echo HQ-FAX is installed into the directory %1.
Echo *
Echo New users are encouraged to study and excercise the tutorial in the
Echo First Time Use section of the Readme file "Readme.HQF".
Echo When you contact us for technical support, we will be happy to assist you,
Echo but we will want to know right away how far you got with the tutorial.
Echo *
Echo Registered users will need to enter their Registration Key into the
Echo Registration key field in the HQ-FAX Conversion screen.
Echo *
Echo More information follows.
Pause
Echo You may execute HQ-FAX from anywhere if the root directory (C:\;) is in your
Echo current PATH. Otherwise you may execute HQFAX from the root directory.
Echo Your current PATH is:
PATH
PATH C:\;%path%
Echo *
Echo Your current PATH has been modified to include the root directory (C:\;).
Echo Your autoexec.bat file has *NOT* been modified.
Echo You may wish to update the PATH statement in your autoexec.bat file.
Echo *
Echo To start HQ-FAX, just enter "HQFAX" at the DOS prompt.
Echo Monochrome screen users may need to enter "HQFAX /mono" .
Echo Happy FAXing!
:Abort
:quit
C:
chdir c:\
Echo on