home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
business
/
survey45.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-06-01
|
1KB
|
57 lines
@echo off
cls
verify on
for %%f IN (a,A,a:,A:,b,B,b:,B:) do if %1.==%%f. GOTO FLOPPY
for %%f IN (c,c:,d,d:,e,e:,f,f:,g,g:,h,h:,i,i:,C,C:,D,D:,E,E:,F,F:,G,G:,H,H:,I,I:) do if %1.==%%f. GOTO GOODFMT
:ERROR
echo]
echo Please change your command line syntax.
echo You normally should enter 'A:INSTALL' followed by the letter of
echo the drive where you wish to install the SURVEY files. You can
echo follow the letter with a colon. Do not follow 'A:' with a space.
echo (Use B instead of A if you are installing from Drive B.)
echo]
echo The allowable drives (if present) are A B C D E F G H or I
echo]
echo Example for a hard drive: A:INSTALL C
echo]
echo This would install SURVEY files on the C drive in a new directory, SRVY.
echo]
echo To install on a floppy drive (720K or larger) type A:INSTALL B
echo]
echo Please try again
echo]
echo]
echo]
echo]
GOTO ENDIT
:FLOPPY
%1:
cd\
cls
echo Installing files on drive %1
copy a:*.*
goto DONE
:GOODFMT
%1:
cd\
md srvy
cd srvy
cls
echo Installing files on the new Directory SRVY of Drive %1
copy a:*.*
cls
:DONE
cls
echo]
echo Since your program is now installed, you can disregard the
echo installation instructions in the documentation.
echo]
echo To start the Survey program, type "survey" (without quotes) at the
echo DOS prompt, and follow with ENTER
echo]
:ENDIT
pause
cls