|

D r i ve


image

Drive.Eject

OverviewExamples

Drive.Eject ( string Drive )


De s cr ip t ion


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


P arame t er s


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.


Re t u r n s


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


See also: Related Actions


image

image

Drive.Enumerate

OverviewExamples

table Drive.Enumerate ()


De s cr ip t ion


Returns a numerically indexed table containing all of the drives on the user's system.


P arame t er s


None.


Re t u r n s


(table) A numerically indexed table containing the drive letters of all of the drives on the user's system. The stored values will be in a format such as A:\. If an error occurs, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.


|