MSI Factory 2.3

Drive.Eject

Drive.Eject

Previous topic Next topic  

Drive.Eject

Previous topic Next topic  

OverviewExamples

Drive.Eject (

string Drive )

Description

Ejects a CD or DVD-ROM drive when given a valid drive letter.

Parameters

Drive

(string) The drive to eject. The first character of the string will be the drive letter used. Therefore "E", "E:"," E:\" and "E:\Myfile.txt" are all valid values if you want to eject the E: drive.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us