I know how to find a directory if I know the full path name of the directory I'm searching for..But, let's say I only know the directory name, and not the full path name..How can I find that directory on a users system? Is there some recursive function or looping structure to achieve this?
server_crash
64
Postaholic
Recommended Answers
Jump to PostFor one that will only work on Windows machines, not anywhere else.
Try to write Java code to be platform independent...Look at the class System for a method getProperties().
This will retrieve the system properties which, among other things, contains a reference to the current working directory as …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.