title: Windows scripting iconv parameter
body: <p>I am running Gnu iconv from a .bat file in Windows Vista (Sorry about that!)</p>
  
  <pre><code>"C:\Program Files\GnuWin32\bin\iconv.exe" -f ISO-8859-1 -t UTF-8 "%1" &gt; "%1"
  </code></pre>
  
  <p>If I call </p>
  
  <pre><code>&gt; batch.bat "S:\gutschein_info.php"
  </code></pre>
  
  <p>It executes as</p>
  
  <pre><code>&gt; "C:\Program Files\GnuWin32\bin\iconv.exe" -f ISO-8859-1 -t UTF-8 
    "S:\gutschein_info.php"  1&gt; "S:\gutschein_info.php"
  </code></pre>
  
  <p>Then gutschein_info.php is empty. Where does the " 1>" come from? Why is it not working?</p>
  
  <p>Btw: Finally I would like to convert a whole folder:</p>
  
  <pre><code>FOR %%i IN (%1*) DO "C:\Program Files\GnuWin32\bin\iconv.exe" -f ISO-8859-1 -t UTF-8 %%i &gt; %%i
  </code></pre>