home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boldly Go Collection
/
version40.iso
/
TS
/
17A
/
DKFIL29S.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-12-26
|
5KB
|
182 lines
echo off
cls
scrn08
echo -
echo This program will install the Disk Filer program files to a Drive
echo of your choice (A, - E), and place you in \dskfiler subdirectory. This
echo program will not modify your autoexec.bat or config.sys files.
echo .
echo If this installation is an upgrade from a previous version of Disk
echo Filer then you will need to: Press CTRL-C Now
echo Then answer "Y" to question "Terminate Batch Job?" Then copy all
echo your *.DTA files to a blank diskette. This is for safety reasons only.
echo Then start this install program again to install this New Version.
echo .
echo Thanks for selecting and trying the Disk Filer System.
echo -
pause
if %1 / == / goto drv
if %1 == a goto adrv
if %1 == b goto bdrv
if %1 == c goto cdrv
if %1 == d goto ddrv
if %1 == e goto edrv
if %1 == f goto fdrv
:drv
cls
echo -
echo You need to specify a Drive in which to install Disk Filer TO,
echo and then second, FROM which diskette drive as well.
echo .
echo For Example:
echo install a b, install b a, install c a, install d a
echo .
echo The four (4) examples above are some ways this install will work,
echo BUT do NOT type the commas!
echo .
echo Install will install Disk Filer on Drives A thru E.
echo .
echo You will go to DOS from here, then restart by typing: "install x x"
echo ( x ='s a drive letter)
echo -
pause
goto done
:adrv
echo -
echo You have typed -install a- and therefore Disk Filer files will
echo be put on a blank formatted diskette. If you have not placed a
echo blank formatted diskette in drive A:, DO SO NOW! (Press CTRL-C
echo and type `Y' in response to -terminate batch job?- to return
echo to DOS), if you wish to terminate this install procedure.
echo -
pause
goto cpy
:cpy
copy df.* %1:
copy *.com %1:
copy readme??.1st %1:
copy *.bat %1:
copy *.doc %1:
copy *.20? %1:
copy *.txt %1:
copy *.exe %1:
goto end
:bdrv
echo -
echo You have typed -install b- and therefore Disk Filer files will
echo be put on a blank formatted diskette. If you have not placed a
echo blank formatted diskette in drive B:, DO SO NOW! (Press CTRL-C
echo and type `Y' in response to -terminate batch job?- to return
echo to DOS), if you wish to terminate this install procedure.
echo -
pause
goto cpy
:cdrv
echo -
echo You have typed "install c" and therefore a directory called
echo -Dskfiler- will be made on drive C:. All Disk Filer files will be
echo copied into that directory for you.
echo -
pause
c:
md dskfiler
%2:
copy df.* %1:\dskfiler
copy *.com %1:\dskfiler
copy readme??.1st %1:\dskfiler
copy *.doc %1:\dskfiler
copy *.bat %1:\dskfiler
copy *.20? %1:\dskfiler
copy *.txt %1:\dskfiler
copy *.exe %1:\dskfiler
goto end
:ddrv
echo -
echo You have typed "install d" and therefore a directory called
echo -Dskfiler- will be made on drive D:. All Disk Filer files will be
echo copied into that directory for you.
echo -
pause
d:
md dskfiler
%2:
copy df.* %1:\dskfiler
copy *.com %1:\dskfiler
copy *.1st %1:\dskfiler
copy *.doc %1:\dskfiler
copy *.bat %1:\dskfiler
copy *.20? %1:\dskfiler
copy *.txt %1:\dskfiler
copy *.exe %1:\dskfiler
goto end
:edrv
echo -
echo You have type "install e" and therefore a directory called
echo -Dskfiler- will be made on drive E:. All Disk Filer files will be
echo copied into that directory for you.
echo -
pause
e:
md dskfiler
%2:
copy df.* %1:\dskfiler
copy *.com %1:\dskfiler
copy *.1st %1:\dskfiler
copy *.doc %1:\dskfiler
copy *.bat %1:\dskfiler
copy *.20? %1:\dskfiler
copy *.txt %1:\dskfiler
copy *.exe %1:\dskfiler
goto end
:fdrv
echo -
echo You have typed "install f ?" and therefore can install from your
echo RAMDrive "F" to any drive "A - E". If you have typed "F" to
echo install Disk Filer to "F" for useage, you have ERRORED. Disk Filer
echo does NOT support "F" drive. Only drives A, B, C, D, E are valid.
echo If you would have chosen for example: install e f then you would
echo be using this procedure correctly.
echo -
pause
goto done
:end
echo -
echo All files have been copied to designated drive.
echo NOTE: The capslock key and light will be turned on for this program
echo needs uppercase letters. It will be turned off when you exit
echo the program.
echo .
echo NOW: type; DF ,then press Enter to start Disk Filer!
echo .
echo -
pause
scrn09
goto slip
:slip
if %1 == a goto adsk
if %1 == b goto bdsk
if %1 == c goto end2
if %1 == d goto end3
if %1 == e goto end4
:end2
c:
cd\dskfiler
goto done
:end3
d:
cd\dskfiler
goto done
:end4
e:
cd\dskfiler
goto done
:adsk
a:
goto done
:bdsk
b:
goto done
:done
scrn09