home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
disk
/
directory
/
rushdemo
/
scripts
/
dmsext
< prev
next >
Wrap
AmigaDOS Script File
|
1995-02-27
|
765b
|
42 lines
.key pubscreen/a,file/a
.bra {
.ket }
; $VER: dmsext 37.1 (15.4.93)
;
; Asks user for a disk to extract a DMS file to. This uses
; the AmigaDOS requestchoice under 3.0 and the requestchoice
; program included with Rush under AmigaDOS 2.x.
;
requestchoice >env:dmsdisk pubscreen {pubscreen} "DMS Extract" "Select disk to extract '{file}' to:" "df0:|ff0:|ff1:|ff2:|ff3:|Cancel"
if val $dmsdisk EQ 1
set disk "df0:"
endif
if val $dmsdisk EQ 2
set disk "ff0:"
endif
if val $dmsdisk EQ 3
set disk "ff1:"
endif
if val $dmsdisk EQ 4
set disk "ff2:"
endif
if val $dmsdisk EQ 5
set disk "ff3:"
endif
if val $dmsdisk EQ 0
quit
endif
if exists env:dmsdisk
delete quiet "env:dmsdisk"
endif
dms write {file} to $disk <z:rush/scripts/return