Computing.Net > Forums > Programming > java programming help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

java programming help

Reply to Message Icon

Name: priti
Date: March 1, 2004 at 17:40:11 Pacific
OS: win 2000
CPU/Ram: p3
Comment:

Hi,
I want to visit each directory/subdirectories above the given file.
like:
/abc/xyz/hi.html
I want to visit directory abc, xyz and want to check files inside those directory.
Check files mean the name of the file, e.g is there any hi.html already created in above directory or not?
I greatly appreciate any help.



Sponsored Link
Ads by Google

Response Number 1
Name: gpp
Date: March 2, 2004 at 05:29:07 Pacific
Reply:

Follow this link to an example of how to traverse thru directories.

http://www.computing.net/programming/wwwboard/forum/9617.html

You'll need to modify the FileFilter to look for that particular html file, and you will need to change 'Traverse' to look for '..' instead of all other sub directories.


0
Reply to Message Icon

Related Posts

See More


Help for batch script interaction with project...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: java programming help

Please help with java program. www.computing.net/answers/programming/please-help-with-java-program/14834.html

Java Program Help www.computing.net/answers/programming/java-program-help/5365.html

need help w/ java programming www.computing.net/answers/programming/need-help-w-java-programming/9632.html