home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_2.iso
/
files
/
676.lha
/
MultiBox
/
Examples
/
Example2
< prev
next >
Wrap
Text File
|
1992-06-26
|
580b
|
24 lines
failat 65537 ; this should be set high enough - for more read the docs
/multibox HAIL MultiBoxRequest! TITLE "Format drive DF0:" BOXES FFS_|NOICONS|QUICK_
set result $RC ; save the return code
set opt1 "" ; initialize local vars
set opt2 ""
set opt3 ""
if 1 EQ `eval $result & 1`
set opt1 FFS
endif
if 2 EQ `eval $result & 2`
set opt2 NOICONS
endif
if 4 EQ `eval $result & 4`
set opt3 QUICK
endif
if 65536 EQ $result
Endcli
endif
Echo "I'll format drive df0 whith the following opts: $opt1 $opt2 $opt3*N"
sys:system/Format drive df0: NAME BLANK $opt1 $opt2 $opt3