B4J Question Files.ListFile - what about dotdot and dot?


Active Member
Licensed User
Longtime User

Is there a way to get a legacy Windows directory listing, that contains the files from ListFile, as well as ".." to represent the parent folder, and "." to represent the root?

I can create this artificially of course, by checking if the current directory has a parent, etc. But is there an easier way, an existing function that does this?