How to get files with a filename starting with a certain letter?
<p>I wrote some code to read a text file from C drive directly given a path.</p>

<pre><code>String fileName1 = "c:\\M2011001582.TXT";
BufferedReader is = new BufferedReader(new FileReader(fileName1));
</code></pre>

<p>I want to get a list of files whose filename starts with M. How can I achieve this?</p>
