title: passing an argument into mayabatch python command
body: <pre><code>set /p VAR=User input
  
  for /r . %%a in (*.ma) do ( 
          mayabatch -file %%a -command &quot;python(&quot;&quot;import script&quot;&quot; + &quot;&quot;\n&quot;&quot; + &quot;&quot;script.main(%VAR%)&quot;&quot;)&quot; 
  )
  </code></pre>
  <p>I'm writing a bat file to run maya batch to process a bunch of files.  I need to run python code passing in an argument %VAR%  How would I go about doing this?</p>