GetWindowsDrive

Description

Returns the drive letter of the specified drive, between 0 and CountWindowsDrives minus one. Values outside this range will return an empty string. The returned string will include the drive letter and a colon, nothing else. This only applies to Windows, other platforms will return an empty string. If you are calling this command from Tier 2 then you must delete the returned string with agk::DeleteString() when you are done with it.

Definition

string GetWindowsDrive( index )

Parameters