Determining the Drive Letter of the Primary Hard Drive
Document ID: IR10070The information in this article applies to:
- AutoPlay Media Studio 5.0 Professional Edition
SUMMARY
This article describes how to determine the drive letter of the user's primary hard drive.
DISCUSSION
To determine the user's main hard drive in AutoPlay Media Studio 5.0, use the Drive.Enumerate action, and take note of the first fixed drive (this is the main hard drive):
drives = Drive.Enumerate();
for j in drives do
type = Drive.GetType(drives[j]);
if type == 3 then
first_hdd = drives[j];
end
end
Dialog.Message("", "The user's main HDD is "..first_hdd);
MORE INFORMATION
For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:
- Program Reference | Actions | Drive | Drive.Enumerate
KEYWORDS: AutoPlay Media Studio 5.0, Drive, Letter, Primary, Hard Drive, HDD, Enumerate
Last reviewed: October 3, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.