[comp.sys.mac.hypercard] XCMD disk handling question

wade@sdacs.ucsd.EDU (Wade Blomgren) (05/11/88)

I am writing an XCMD that manipulates diskettes at the volume level,
ie. I am examining the diskette in the internal drive, and formatting it, 
or renaming it, or zeroing it, or perhaps leaving it alone depending on 
various criteria.  The XCMD first ejects and unmounts any disk that is in 
the internal drive so I can ask for a fresh disk or a particular disk.  It 
then accepts and mounts the disk that is inserted, performs whatever horrible
deeds it wants to, and returns.  

The problem is that if I start off with no disk mounted when the XCMD is
called and I get a disk mounted while in the XCMD, HyperCard ejects the
disk when control is returned from the XCMD.  Is there any way to make
HyperCard leave the disk which I mounted inserted and on line?

Wade Blomgren
wade@sdacs.ucsd.edu