home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
busi
/
pc_tax90.zip
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1990-12-31
|
8KB
|
153 lines
echo off
rem
rem PC-*.*SHAREWARE Install program for PC-TAX**
rem
rem Version 2 dtd 12-31-90
cls
if x%1==x goto param
if x%2==x goto param
if %2==b: goto floppy
if %2==B: goto floppy
goto high
rem *** display install help if drive parameters are omitted ***
:param
echo ╒══════════════════════╕ ╒═════════════════════════════════════════╕
echo │ Install Procedure... │ │ Syntax: INSTALL fromdrive todrive │
echo ╞══════════════════════╧═════╧═════════════════════════════════════════╡
echo │ In general, the install must be done from one drive to another. │
echo │ The distribution disk must be placed in the "fromdrive". The install │
echo │ batch file program will then un-ARC various files to the "todrive". │
echo ╞══════════════════════════════════════════════════════════════════════╡
echo │ For a 360k DUAL-FLOPPY system, you will need to prepare TWO blank │
echo │ formatted diskettes, without DOS on them. Label one of the disks, │
echo │ PC-TAX90 and the other disk PCTAXDOC. When ready, place the │
echo │ distribution diskette in drive A: and type... INSTALL A: B: │
echo ╞══════════════════════════════════════════════════════════════════════╡
echo │ FOR A HARD-DISK system, you will need at least 400K available for │
echo │ the subdirectory \PCTAX that will be created. Alternatively, a │
echo │ large RAM drive, or a 1.2M, 720K or 1.44M floppy drive may be used │
echo │ as the "todrive". Prepare enough space on your chosen "todrive" . │
echo │ When ready, place the distribution disk in your chosen "fromdrive" │
echo │ and type... INSTALL A: C: (install A: to internal hard drive C:) │
echo │ or type... INSTALL B: A: (install B: to high density floppy A:) │
echo │ or type... INSTALL A: D: (install A: to 2nd hard or RAM drive D:)│
echo ╞══════════════════════════════════════════════════════════════════════╡
echo │ NOTE: The INSTALL batch file will supply additional instructions. │
echo ╘══════════════════════════════════════════════════════════════════════╛
pause
cls
goto stop
rem *** routine for high density (non-360K) install ***
:high
cls
echo ╒══════════════════════════════════════════╕
echo │ You have chosen to install the files │
echo │ from drive "%1" to drive "%2". │
echo ├──────────────────────────────────────────┤
echo │ Remember: Drive %2 must have 400K free. │
echo ├──────────────────────────────────────────┤
echo │ If you are not sure that this is what │
echo │ you wanted, press the "Ctrl-Break" keys. │
echo ├──────────────────────────────────────────┤
echo │ Otherwise ... │
echo ╘══════════════════════════════════════════╛
echo
pause
%2
cls
echo ╒═══════════════════════════════════════╕
echo │ Creating \PCTAX dir on "%2" │
echo ╘═══════════════════════════════════════╛
cd \
md PCTAX
cd \PCTAX
echo ╒═══════════════════════════════════════╕
echo │ Copying all PC-TAX90 files to %2.... │
echo ╘═══════════════════════════════════════╛
copy %1*.* %2
dir %2 /w
pause
cls
echo ╒═══════════════════════════════════════════════════════╕
echo │ Congratulations...installation is complete ! │
echo ╘═══════════════════════════════════════════════════════╛
echo ┌────────────────────────────────────────────────────────────────┐
echo │ If you installed to a hard or high density disk ............ │
echo │ Print the manual by typing the following command from the │
echo │ \PCTAX subdirectory: │
echo │ │
echo │ PC-TAX90 PRNTDOC │
echo │ │
echo │ Insure that your printer is on line and has at least 40 pages │
echo │ of paper available. │
echo └────────────────────────────────────────────────────────────────┘
goto done
rem *** routine for low density floppy install ***
:floppy
cls
echo ╒═════════╤═════════════════════════════════════════════════════════╕
echo │ FLOPPY │ It is assumed you have chosen to install the files from │
echo │ INSTALL │ drive A: onto low density 360K floppies on drive B: │
echo ╞═════════╧═════════════════════════════════════════════════════════╡
echo │ You must already have prepared TWO BLANK FORMATTED FLOPPIES. They │
echo │ They should be labeled PC-TAX90 and PCTAXDOC. If you do not have │
echo │ them ready, press both "Ctrl-Break" keys to stop the install. │
echo ╞═══════════════════════════════════════════════════════════════════╡
echo │ Otherwise, insert the disk labeled PC-TAX in drive B: │
echo │ Then ... │
echo ╘═══════════════════════════════════════════════════════════════════╛
echo
pause
cls
echo ╒════════════════════════════════════════╕
echo │ Copying program files ................ │
echo ╘════════════════════════════════════════╛
echo
copy %1*.EXE %2
copy %1*.M90 %2
dir %2 /w
pause
cls
echo ╒═════════════════════════════════════════════════════════╕
echo │ Please remove the PC-TAX90 disk from the target drive │
echo │ and insert the second disk labeled PCTAXDOC in its │
echo │ place. Then ... │
echo ╘═════════════════════════════════════════════════════════╛
pause
echo ╒════════════════════════════════════════╕
echo │ Copying the PC-TAX manual and other │
echo │ supplemental files ................... │
echo ╘════════════════════════════════════════╛
copy %1READ-ME.1ST %2
copy %1*.DOC %2
copy %1*.BAT %2
dir %2 /w
pause
cls
echo ╒═══════════════════════════════════════════════════════╕
echo │ Congratulations...installation is complete ! │
echo ╘═══════════════════════════════════════════════════════╛
echo ┌────────────────────────────────────────────────────────────────┐
echo │ Remove the original distribution disk from drive A and replace │
echo │ it with the new PC-TAX90 disk. Leave the PCTAXDOC disk in │
echo │ drive B. To print the manual type the following command: │
echo │ │
echo │ PC-TAX90 PRNTDOC │
echo │ │
echo │ Insure that your printer is on line and has at least 40 pages │
echo │ of paper available. │
echo └────────────────────────────────────────────────────────────────┘
:done
echo ╔════════════════════════════════════════════════════════════════════╗
echo ║ After printing the manual you may run the program by the entering ║
echo ║ the following command: ║
echo ║ ║
echo ║ PC-TAX90 ║
echo ║ ║
echo ║ WARNING - If display goes blank when running program use the ║
echo ║ following command (see READ-ME.1ST file): ║
echo ║ ║
echo ║ PC-TAX90 SCREEN=MONO ║
echo ╚════════════════════════════════════════════════════════════════════╝
:stop