home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jason Aller Floppy Collection
/
60.img
/
VMOS.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-01-18
|
2KB
|
89 lines
echo off
cls
echo.
echo.
echo Vmos/3 - Virtual multitasking operating system for the 80386
echo Installation Procedure for Version 1 (1.1)
echo.
if %1@==@ goto default
echo Do you want to install Vmos/3 onto fixed drive %1? (Y or N)
a:yesno
if errorlevel 1 goto redo
echo Yes
if exist %1\vmos\vmos.exe goto oldvmos
echo Creating %1\VMOS
md %1\vmos
:oldvmos
echo Copying Vmos/3 to fixed drive %1\VMOS
copy a:vmos.exe %1\vmos > nul
copy a:*.exp %1\vmos > nul
if exist a:vmos.sym copy a:*.sym %1\vmos > nul
copy a:profile.* %1\vmos > nul
copy a:*.bat %1\vmos > nul
copy a:read.me %1\vmos > nul
copy a:hello %1\vmos > nul
%1\vmos\profile %1\vmos\vmosconf
goto laststep
:default
echo Are you installing Vmos/3 onto fixed drive C:? (Y or N)
a:yesno
if errorlevel 1 goto redo
echo Yes
if exist c:\vmos\vmos.exe goto oldvmos2
md c:\vmos
:oldvmos2
echo Copying Vmos/3 to fixed drive C:\VMOS
copy a:vmos.exe c:\vmos > nul
copy a:*.exp c:\vmos > nul
if exist a:vmos.sym copy a:*.sym c:\vmos > nul
copy a:profile.* c:\vmos > nul
copy a:*.bat c:\vmos > nul
copy a:read.me c:\vmos > nul
copy a:hello c:\vmos > nul
c:\vmos\profile c:\vmos\vmosconf
goto laststep
:redo
echo The correct syntax for installing Vmos/3 is:
echo.
echo A:INSTALL [drive specification]
echo.
echo [drive specification] is optional. If omitted, drive C: will be used.
echo example: A:INSTALL will install onto drive C:
echo A:INSTALL D: will install onto drive D:
echo.
echo.
goto done
:laststep
echo.
echo.
echo Do you want to start Vmos/3 automatically when you boot? (Y or N)
a:yesno
if errorlevel 1 goto noauto
echo Yes
echo Adding VMOS to the end of C:\AUTOEXEC.BAT
echo. > a:temp
if %1@==@ goto skipdrive
echo %1 > a:temp
:skipdrive
echo cd %1\vmos >> a:temp
echo vmos >> a:temp
copy c:\autoexec.bat+a:temp c:\autoexec.bat > nul
goto donegood
:noauto
echo No
:donegood
echo Vmos/3 Installation Procedure is complete
echo.
echo Please examine the file READ.ME before using Vmos/3
:done
echo.
exit