<br><br><div><span class="gmail_quote">2007/4/18, Josh Coalson &lt;<a href="mailto:xflac@yahoo.com">xflac@yahoo.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
--- Harry Sack &lt;<a href="mailto:tranzedude@gmail.com">tranzedude@gmail.com</a>&gt; wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I&#39;m using windows so I know the wildcard support for flac is broken.<br>&gt; That&#39;s<br>&gt; why I use this command to encode a whole directory of WAV-files to
<br>&gt; FLAC-files in a command prompt:<br>&gt;<br>&gt; for %1 in (*.wav) do flac -V --best &quot;%1&quot;<br>&gt;<br>&gt; This command is fully working<br>&gt;<br>&gt; Now I want to write the flac output to a file, so I can open this
<br>&gt; file<br>&gt; later.<br>&gt; I tried to add &gt; outputfile.txt to the command like this:<br>&gt;<br>&gt; for %1 in (*.wav) do flac -V --best &quot;%1&quot; &gt; outputfile.txt<br>&gt;<br>&gt; But this doesn&#39;t work.
<br><br>using &gt; only captures stdout, but flac messages go to stderr, so<br>you need to do<br><br>for %1 in (*.wav) do flac -V --best &quot;%1&quot; 2&gt; outputfile.txt</blockquote><div><br><br>sorry, I replyed to quickly that it fully worked, but it&#39;s not fully working, only the output of the last file is saved to the outputfile.
<br>So only the output of the last file in the directory is saved to the outputfile (I think the outputfile is overwritten every time for each file).<br>Do you know how I can write the output of EACH file to the same outputfile? I can&#39;t figure it out how to do this. So I want to have an outputfile that has all the FLAC output of each file.
<br><br>thanks in advance!<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">this is true for cmd.exe as well as other unixy shells like bash.
<br>not sure if it works for <a href="http://command.com">command.com</a> though.<br><br>Josh<br><br><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?&nbsp;&nbsp;Yahoo! Mail has the best spam protection around
<br><a href="http://mail.yahoo.com">http://mail.yahoo.com</a><br></blockquote></div><br>