;Restore imagefile file, with simple Yes/No/Cancel confirmation
; ~ param1 = partition number, default 9~ param2 = imagefile, default 'dfswfat.p09'~
;
; To run with just the confirmation visible:  dfsos2 -Q -q -w -l- run restore1
;
;;defaultparam 1 9
;;defaultparam 2 dfswfat.b09
;
log $0 ;same as scriptname
about -P-
;
;;error quit
;
confirm -y Restore imagefile $2 to partition $1~(replacing the bootsector)~~Restore imagefile now
;
restore  $2 0 1 -P:$1
;
log             ;close logfile
;
confirm Restore $2 to partition $1 completed, press a key to exit the DFSee program ...
q
