I have a setup with a Text List displaying the contents of the folder. A click on the list opens a nested folder or, if it’s not a folder, displays the File Info in an adjacent area. There’s adjacent button to navigate upward a folder at a time.
The navigation is done by using listfiles( and either adding or subtracting the last item in the folder path. It all works as desired until I hit the “top”.
A typical path would be: /Volumes/IDH2/2022/March
When it gets cut down to /Volumes, the display is something like:
ThisMac represents the name of the computer. To get ThisMac included I had to delete the ƒ from the listfiles( parameters, so it’s apparently not seen as a folder.
Clicking on any of the listed volumes produces a list of the contents, ThisMac is an exception. Nothing shows up when it is chosen. On my Desktop the computer can be seen under Locations. Clicking on that shows the computer’s HD bearing the same name as the computer, plus all connected volumes.
I would expect that /Volumes would be the equal to Locations and that ThisMac represents the computer’s HD.
So the issue is how to properly list the top hierarchy of volumes and be able to drill down on the computer’s HD from there as I can with the other volumes.
Also, is there any parameter that can be applied in listfiles( that hides invisible files?