REM   THIS BATCH PROGRAM EXPECTS TO FIND A RAM DRIVE "D:"
PAUSE AND YOUR BEEBDOS WORKING COPY MUST BE ON THE CURRENT "DEFAULT" DRIVE .
PATH\BEEBDOS
IF EXIST RAM.BAT GOTO OK1
REM THE BEEBDOS WORKING COPY IS NOT IN THE CURRENT DEFAULT DOS DRIVE.
GOTO END
:OK1
IF EXIST BDOS.COM GOTO OK2
REM THE BEEBDOS WORKING COPY IS NOT IN THE CURRENT DEFAULT DOS DRIVE
REM OR IT DOES NOT CONTAIN ALL THE BEEBDOS UTILITIES.
GOTO END
:OK2
CD\
COPY BDOS.COM D:
IF EXISTS D:BDOS.COM GOTO INSTAL1





REM DRIVE D RAM DRIVE DOES NOT EXIST.
REM IF YOU ARE INTENDING TO USE THE RAM DISK "VDISK" SUPPLIED WITH DOS 2.1
REM OR LATER, YOU WILL NEED TO DO THE FOLLOWING BEFORE RUNNING "RAM".


REM 1.   Ensure the file VDISK.SYS is in the root directory of your
REM      bootup (DOS) disk.
REM 2.   Enter the following card in the CONFIG.SYS file of your
REM      bootup (DOS) disk:
REM
REM		DEVICE=\VDISK.SYS 128 512 64 
REM
REM 3.   Reset (Re-boot) your machine with this disk in drive A.
REM
REM
REM When the DOS prompt appears you my then re-run the "RAM" batch utility
REM from your BeebDOS working copy diskette.
REM
REM
REM If you wish to find out more about "VDISK" you can find complete
REM instructions in the top of a text file called "VDISK.LST" on your
REM "DOS Supplemental Programs" diskette.
GOTO END
:INSTAL1
COPY BCOPY.EXE D:
COPY BCONV.EXE D:
COPY BGRAPH.EXE D:
COPY BCAT.EXE D:
COPY BFORM.EXE D:
COPY BBACK.EXE D:
COPY BWIPE.EXE D:
COPY BACC.EXE D:
COPY BCOMP.EXE D:
COPY BREN.EXE D:
COPY BTOPT.EXE D:


REM The BeebDOS utilities are now installed on RAM drive D. These will remain
REM available on drive D until you reset (re-boot) or switch off your PC.
REM BeebDOS utilities may now be used directly from drive D without the need
REM to place your "BeebDOS working copy" disk in drive A.
REM Assuming you have a twin floppy machine and drive A is the DOS default.
REM Here is an example of how you may now use BCOPY.
REM
REM
REM D:BCOPY A:*.* :1.$.* Y		run BCOPY from drive D and prompt
REM					before copying IBM files from drive A
REM					to BBC diskette in drive B.
:END

