Re: indexing whole harddrive

2006-01-31 Thread Azlan Abdul Latiff
hi Rajesh, thanks for the reply. i'll go ahead with the new method as you suggest. - Original Message - From: "Rajesh Munavalli" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 31, 2006 10:06 PM Subject: Re: indexing whole harddrive You have to recursively tra

Re: indexing whole harddrive

2006-01-31 Thread Rajesh Munavalli
You have to recursively traverse the directories using something like...(in Java) void indexDocs(String file){ if (file.isDirectory()) { // if a directory String[] files = file.list(); // list its files for (int i = 0; i < files.length; i++) // recursively index them

indexing whole harddrive

2006-01-31 Thread Azlan Abdul Latiff
how can I index the whole hard drive? I tried using "c:/" but it didnt work. The results only return c:/ directory where as a I want it to index all the sub folders as well as the the other directories. Azlan This e-mail has been