ShellBrowser Delphi Components Documentation
ContentsIndexHome
Example 1

This example shows how to get all drives of the current system.

ShellBrowser.SpecialFolder := SF_DRIVES;
While ShellBrowser.Next do begin
  if Pos(':', ShellBrowser.ObjectName)>0 then
    ListOfDrives.Items.Add(ShellBrowser.ObjectName);
end;