I have a question about using FileSystemView. On Windows I would like
to be able to obtain
a top level lists of folders (and files), such as one would see in
explorer with the "Desktop",
"MyComputer" including any mapped devices. When I use
FileSystemView.getRoots() I only
get the Desktop which if I do getFiles(), I get list of objects that
are on the Desktop. I'm not
get "My Computer" or any of the system Drives or devices, etc. I
believe the FileSystemView
can be used to obtain all of the information that I would like, but I
don't see how it can be used
to accomplish this. Could someone please shed some light on this?
Thanks.
-- tb
thom.bishop@gmail.com - 23 Feb 2007 01:37 GMT
On Feb 22, 7:54 pm, thom.bis...@gmail.com wrote:
> I have a question about using FileSystemView. On Windows I would like
> to be able to obtain
[quoted text clipped - 13 lines]
>
> -- tb
Okay, upon doing some further digging I found that the two file that
had very strange looking
names where actually the "My Computer" and "My Network Places" system
folders. Need to use
getSystemDisplayName() instead of getName() to see this. I think that
clears things up, at least
for now.
-- tb