[SOLVED]Win API to get files from external drive? lazarus / 34-Windows ---------------------------------------------------------------------- Lampbert · 2020-02-13 21:04 Hello, I use SHGetFolderPathA to "get" files from the music folder "CSIDL_MYMUSIC" and assign their paths to a TStringList. Is there a Windows function that operates in the same manner but with external drives that are connected to the system instead? Thanks. ---------------------------------------------------------------------- lainz · 2020-02-13 21:25 See here: https://forum.lazarus.freepascal.org/index.php/topic,15943.0.html ---------------------------------------------------------------------- Lampbert · 2020-02-14 12:14 Thanks for the link lainz, quick glance and it looks like what I need.