file.unmountVolume

Syntax file.unmountVolume (path)

Params path is the path name of a disk volume you wish to unmount.

Action Unmounts the specified volume, removing it from the desktop and making it unavailable for further use.

Returns True

Examples file.unmountVolume ("Backups:")

   » true

Platform Notes This verb is only implemented in the Mac OS version of Frontier.

Notes This verb is primarily intended to be called after ejecting a disk, to completely remove the volume from the operating environment.

Once a volume is unmounted, there is no way to re-mount it using Frontier verbs. However, if the volume had been ejected, re-inserting the disk will cause it to be mounted again.

See Also file.eject

Discuss