Searching the file system for a specific directory

Hello all. I would like to know how I could search a file system, say Windows for a particular directory? In this case, actually scan the whole computer for a directory. I know it sounds tedious but is it possible? Thanks in advance.

Alright, I realise doing this way would definitely slow things down. How about if I make the program detect the directory where it is located because that's what I am actually aiming to do. Can this be done? Thanks again.

Message was edited by:

Ragde

[511 byte] By [Ragdea] at [2007-11-27 3:34:56]
# 1
Have a look at the java.io.File class: http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html
prometheuzza at 2007-7-12 8:38:05 > top of Java-index,Core,Core APIs...