home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The SelectWare System Volume 2 #3
/
The_SelectWare_System_Series_1_Volume_2_Number_3_Selectware.iso
/
swinstal.bat
< prev
next >
Wrap
DOS Batch File
|
1990-05-22
|
2KB
|
63 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 program files for The SelectWare
echo System to the hard disk. They will be installed under the
echo subdirectory %1:\SWTDEMOS
echo .
echo Type CTRL-C to Exit, or
pause
if exist %1:\SWTDEMOS\SW90W.CFG goto gocopy
echo .
echo Creating subdirectory %1:\SWTDEMOS
echo An error here is ok if you have previously installed or run
echo The SelectWare System.
echo .
md %1:\SWTDEMOS
echo .
:gocopy
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 has been installed to drive %1.
echo Also, a batch file called GOSW.BAT has been placed in your root
echo directory. You can use it to automate starting The SelectWare System.
echo .>nul
echo To run The SelectWare System now, type SWSTART [Enter].
GOTO :FINISH
:NEEDPARAM
echo This batch file installs the program files for The SelectWare
echo System to 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