This content has been marked as final. Show 5 replies
What did you expect? Magic?
What if you have 10 folders named "SVN". Which one should it find?
File directory = new File("E:\\SVN");
Not magic but code :)
If there are many folders with name SVN then I want all the path..
How to do it ?
You will have to search for them. But that indicates something seriously wrong with the requirement. In effect you're using the local filename as a secondary key but there is no index on it. You should consider a database.