home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The SelectWare System Volume 2 #3
/
The_SelectWare_System_Series_1_Volume_2_Number_3_Selectware.iso
/
dbinstal.bat
< prev
next >
Wrap
DOS Batch File
|
1990-05-22
|
1KB
|
59 lines
echo off
CLS
IF A%1%1==A%1 GOTO NEEDPARAM
IF NOT EXIST EMORE.PIC GOTO :WRONGDRIVE
echo This batch file installs The SelectWare System database on
echo the hard disk. It will be installed under the subdirectory
echo %1:\SWTDEMOS\SWT
echo .
echo Type CTRL-C to Exit, or
pause
if exist %1:\SWTDEMOS\SW90W.CFG goto :chkswt
echo Creating %1:\SWTDEMOS.
md %1:\swtdemos
md %1:\swtdemos\demo
echo .
:chkswt
md %1:\SWTDEMOS\SWT
echo Copying database to drive %1
copy \swt %1:\SWTDEMOS\SWT
echo .
echo .
echo Copying The SelectWare System program files to drive %1
echo 11 files will be copied
copy sw.exe %1:\SWTDEMOS
copy swstart.exe %1:\SWTDEMOS
copy survey.exe %1:\SWTDEMOS
copy *.fnt %1:\SWTDEMOS >nul
echo 2 file(s) copied
copy map.com %1:\SWTDEMOS
copy GOSW.BAT %1:\
copy *.txt %1:\SWTDEMOS >nul
echo 4 file(s) copied
%1:
cd \SWTDEMOS
cls
echo The SelectWare System product database has been installed to drive %1.
echo To run, type SWSTART [Enter].
GOTO FINISH
:NEEDPARAM
echo This batch file installs The SelectWare System database on
echo the hard disk.
echo .
echo To run type SWINSTAL x where x is the hard drive letter
echo (i.e. SWINSTAL C)
goto :FINISH
:WRONGDRIVE
echo To run SWINSTAL, you must be logged onto your CD-ROM drive and
echo in the root directory.
echo .>nul
:FINISH