The Artima Developer Community
Sponsored Link

Java Answers Forum
java directory tree

2 replies on 1 page. Most recent reply: Apr 4, 2004 10:32 PM by mausam

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Tim

Posts: 1
Nickname: zunkron
Registered: Apr, 2004

java directory tree Posted: Apr 3, 2004 8:28 AM
Reply to this message Reply
Advertisement
create a directory tree and displaying all the contents within that directory on the screen. ex.

Enter Directory: example:C:\test
result:

[test]
[bin]
|---ant.exe
|---features.bat
[docs]
|---sample.doc
|---File1.doc
|---File2.doc
[save]
[apps]
|---app1.exe
|---app2.exe
[games]
|---sol.exe
|---hearts.exe

:
:
:
:


twc

Posts: 129
Nickname: twc
Registered: Feb, 2004

Re: java directory tree Posted: Apr 3, 2004 11:47 AM
Reply to this message Reply
Are you ordering us to do this? I don't really want to.

mausam

Posts: 243
Nickname: mausam
Registered: Sep, 2003

Re: java directory tree Posted: Apr 4, 2004 10:32 PM
Reply to this message Reply
the answer depends on which grade you are in so that u can get good marks.

Tell us your grade and the examination/assignment u got this question and u will get the appropriate answer,

Flat View: This topic has 2 replies on 1 page
Topic: listing file locations from web page Previous Topic   Next Topic Topic: Object Oriented system

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use