home *** CD-ROM | disk | FTP | other *** search
- .key pubscreen/a,file/a
- .bra {
- .ket }
- ; $VER: dmsext 37.2 (13.8.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:|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 0
- quit
- endif
-
- if exists env:dmsdisk
- delete quiet "env:dmsdisk"
- endif
-
- dms write {file} to $disk <z:rush/scripts/return
-