home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format 81
/
af081a.adf
/
begin.lzx
/
c
/
script
< prev
next >
Wrap
Text File
|
1995-12-19
|
3KB
|
123 lines
echo "*Ec*E[30m"
which cd
if warn
skip 50
endif
echo "*Ec*E[1mAttention Hard Drive Users:*E[0m"
echo "You can install these programs directly to your hard drive, but please"
echo "read the information in the magazine before using the program."
echo ""
echo "Would you like to install to a floppy or hard drive?"
echo "Enter either 'f' or 'h' (the default is floppy)."
setenv >nil: type ?
if not exists ram:env/type
skip 50
endif
if not $type EQ h
skip 50
endif
lab 61
echo "*EcPlease enter the pathname you wish to install to."
echo "NB. Hard drive *E[32mONLY*E[0m."
echo "E.g. 'dh0:', 'work:test/', etc..."
setenv >nil: pathname ?
failat 21
cd $pathname >nil:
if fail
failat 10
skip 61 back
endif
failat 10
echo "*EcOK... Installing disks."
makedir Blitz2Demo
copy ram:Blitz2Demo.info ""
makedir Blitz2Demo/userlibs
copy ram:userlibs.info Blitz2Demo/
makedir Blitz2Demo/Examples
copy ram:Examples.info Blitz2Demo/
makedir AF81_Utilities
copy ram:AF81_Utilities.info ""
unlzx -a -q x AF81a:archives/AF81a1.lzx Blitz2Demo/
unlzx -a -q x AF81a:archives/AF81a2.lzx Blitz2Demo/Examples/
unlzx -a -q x AF81a:archives/AF81a3.lzx AF81_Utilities/
ask "*EcThat's the disks installed to hard drive. Re-boot now from your hard drive."
lab 50
endif
echo "*EcPreparing to install first disk to floppy."
echo "Please wait..."
copy AF81a:archives/AF81a1.lzx ram: BUF=10
lab 1
echo "*EcPlease insert a blank, formatted disk in df0: (internal drive)."
ask "*E[1mPress return when you have done so...*E[0m"
wait 5
if not exists df0:begin.lzx
skip 2
endif
skip 1 back
lab 2
endif
echo "*EcOK! Installing disk. Please wait."
echo "This will take a few minutes."
relabel df0: Blitz2
install df0:
makedir df0:userlibs
copy ram:userlibs.info df0:
unlzx -a -q -bi24 x ram:AF81a1.lzx df0:
delete ram:AF81a1.lzx quiet
lab 3
echo "*EcPlease insert AF81a in any drive."
ask "*E[1mPress return when you have done so...*E[0m"
if exists AF81a:begin.lzx
skip 4
endif
skip 3 back
lab 4
endif
copy AF81a:archives/AF81a2.lzx ram: BUF=10
lab 5
echo "*EcPlease insert a blank, formatted disk in df0: (internal drive)."
ask "*E[1mPress return when you have done so...*E[0m"
wait 5
if not exists df0:begin.lzx
skip 6
endif
skip 5 back
lab 6
endif
echo "*EcOK! Installing disk. Please wait."
echo "This will take a few minutes."
relabel df0: Examples
unlzx -a -q -bi24 x ram:AF81a2.lzx df0:
delete ram:AF81a2.lzx quiet
lab 13
echo "*EcPlease insert AF81a in any drive."
ask "*E[1mPress return when you have done so...*E[0m"
if exists AF81a:begin.lzx
skip 14
endif
skip 13 back
lab 14
endif
copy AF81a:archives/AF81a3.lzx ram: BUF=10
lab 15
echo "*EcPlease insert a blank, formatted disk in df0: (internal drive)."
ask "*E[1mPress return when you have done so...*E[0m"
wait 5
if not exists df0:begin.lzx
skip 16
endif
skip 15 back
lab 16
endif
echo "*EcOK! Installing disk. Please wait."
echo "This will take a few minutes."
relabel df0: AF81_Utilities
copy ram:disk.info df0:
unlzx -a -q x -bi24 ram:AF81a3.lzx df0:
delete ram:AF81a3.lzx quiet
echo "*EcThat's all folks! All the disks are now installed."
echo "To use Blitz Basic 2, insert the first disk and reset your Amiga."
echo "The second disk contains the Examples for Blitz Basic."
ask "To use the utilities, boot Workbench and insert the third disk."