Forum Discussion
YMinaev
15 years agoStaff
Hi Anders,
You can check drive type by using the DriveType property.
Here is an example (avoiding remote drives):
You can check drive type by using the DriveType property.
Here is an example (avoiding remote drives):
function DriveTypeExample;
var i, colDrives: OleVariant;
begin
colDrives := aqFileSystem.Drives;
for i := 0 to colDrives.Count-1 do
begin
if colDrives.Item(i).DriveType <> 4 then
Log.Message(ColDrives.Item(i).DriveLetter);
end;
end;
Related Content
- 5 years ago
- 2 years ago
- 6 years ago
- 8 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago