Why doesn't * as a command line parameter to "java" work as expected?
<p>I have a program that takes in a string as parameter and the searches the string in a text file.</p>

<p>Everything works perfectly except when I enter <code>*</code> as the parameter. It prints out all the file name in my directory. Seems it doesn't go through the code when I enter <code>*</code> as the parameter.</p>

<p>Anyone know whats going on?</p>
