Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get the folder sharing information? 2

Status
Not open for further replies.

jollyplay

Programmer
Dec 16, 2003
90
0
0
Hi all,

When i gave the system name I want to show the all the folder in tree structure with informations like whether it is shared or not.

Kindly give me some idea.

Thanks in advance.
 
So you want a list of subdirectories and files in a given directory name ?


--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Look at the listFiles() method in java.io.File .
You will need to build a function to recursively call that method - which will drill down through the directories.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Depending on what you're trying to do, maybe JFileChooser and one of its configurations can to the trick.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top