How to make a program search for a file quickly
<p>I wrote a program looking for a specific file in the computer, but it suffers from slow and delays in obtaining the many files on your computer</p>

<p>This function is working to get all the files</p>

<pre><code>void Get_Files(DirectoryInfo D)
        {
            FileInfo[] Files;
            try
            {
                Files = D.GetFiles("*.*");
                foreach (FileInfo File_Name in Files)
                    listBox3.Items.Add(File_Name.FullName);
            }
            catch { }

            DirectoryInfo[] Dirs;
            try
            {
                Dirs = D.GetDirectories();
                foreach (DirectoryInfo Dir in Dirs)
                {
                    if (!(Dir.ToString().Equals("$RECYCLE.BIN")) &amp;&amp; !(Dir.ToString().Equals("System Volume Information")))
                        Get_Files(Dir);
                }
            }
            catch { }
        }
</code></pre>

<p>Is there another way to get a little faster all the computer files??</p>
