guys just confused aboout one thing...when i m using the list() while searching then shouldn't it display all the files in the directory and its subdirectories? i know its a simple quest but still i am revolving around thid...please help! thanks
Returns: An array of strings naming the files and directories in the directory denoted by this abstract pathname. The array will be empty if the directory is empty. Returns null if this abstract pathname does not denote a directory, or if an I/O error occurs.