Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing an application to access local file system

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I was asked to write a desktop application to access a local file system and to be able to return the path of a selected directory. Does anyone have any idea how i can do this?
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mmwlam
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.
Check out this thread on directory selection:
http://www.javaranch.com/ubb/Forum33/HTML/001305.html
Thanks.
 
Brian Snyder
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was fooling around with this. Check out my code. It asscess the native enironment:
 
Brian Snyder
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just reread your question. I don't think this answers it. The below cose only allows you to open a file.
Originally posted by Brian Snyder:
[B]I was fooling around with this. Check out my code. It asscess the native enironment:
[/B]

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic