ShellTreeView to list additional drives on hard disk or network lazarus / 32-Linux ---------------------------------------------------------------------- marsheng · 2022-03-27 02:29 My requirement is to load a text type file and dump to the RS232 port. The file could be from a local drive on the same machine (windows partition) or from a network drive. When running SheelTreeView, it only shows the Linux installation. If I use thunar, all the devices are listed and I can access them so they appear to be accessible. How do I get them into ShellTreeView? ---------------------------------------------------------------------- wp · 2022-03-27 10:03 Are these drives mounted correctly? I only have Linux on a virtual machine on a Windows host, but when everything is set up properly I can see the common folder from the linux VM, also from TShellTreeView. ---------------------------------------------------------------------- marsheng · 2022-03-29 13:31 Is there a directory some where in the Linux file system that points to the mounted drive? Bit like windows mapping ? As a side line, is there a way to sort ShellTreeView alphabetically ? ---------------------------------------------------------------------- dsiders · 2022-03-29 15:33 Quote from: marsheng on March 29, 2022, 03:31:20 pmIs there a directory some where in the Linux file system that points to the mounted drive? Bit like windows mapping ? As a side line, is there a way to sort ShellTreeView alphabetically ? Probably /etc/mtab for mounted file systems. You'll get a better answer for this from Google... Quote from: marsheng on March 29, 2022, 03:31:20 pmAs a side line, is there a way to sort ShellTreeView alphabetically? Use TShellTreeView.FileSortType. https://dsiders.gitlab.io/lazdocsnext/lcl/shellctrls/tcustomshelltreev iew.filesorttype.html https://dsiders.gitlab.io/lazdocsnext/lcl/shellctrls/tfilesorttype.htm l ---------------------------------------------------------------------- petevick · 2022-04-07 15:33 Quote from: marsheng on March 29, 2022, 03:31:20 pmAs a side line, is there a way to sort ShellTreeView alphabetically ? Yes, set the property FileSortType to fstAlphabet To list all mounted drives set the Root property to /mnt