擅长:python、mysql、java
<p>您需要使用<code>python</code>:</p>
<pre><code>python touch.py fileName
</code></pre>
<p>如果不指定<code>python</code>,则不会传递参数。你知道吗</p>
<hr/>
<p>要使<code>cmd.exe</code>传递参数(不指定python),需要修改registry。见<a href="https://stackoverflow.com/a/24781215/2225682">this answer</a>或<a href="http://eli.thegreenplace.net/2010/12/14/problem-passing-arguments-to-python-scripts-on-windows/" rel="nofollow noreferrer"> Eli Bendersky's website</a>。你知道吗</p>