ren *.xml *.xsig works in cmd but not in .bat : <p>I have a very simple batch file, I want it to change the extension of all the .xml into .xsig files in the folder of the batch file.
The only line that is in the batch file is:</p>

<pre><code>ren *.xml *.xsig
</code></pre>

<p>The command works fine in cmd, but not by double clicking the batch file, it always reports the next message:</p>

<pre><code>The system could not find the file specified
</code></pre>

<p>What am I doing wrong? I've tested this in windows 7.</p>
