<br><br><div><span class="gmail_quote">2007/4/18, Josh Coalson <<a href="mailto:xflac@yahoo.com">xflac@yahoo.com</a>>:</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 <<a href="mailto:tranzedude@gmail.com">tranzedude@gmail.com</a>> wrote:<br>> Hi,<br>><br>> I'm using windows so I know the wildcard support for flac is broken.<br>> That's<br>> why I use this command to encode a whole directory of WAV-files to
<br>> FLAC-files in a command prompt:<br>><br>> for %1 in (*.wav) do flac -V --best "%1"<br>><br>> This command is fully working<br>><br>> Now I want to write the flac output to a file, so I can open this
<br>> file<br>> later.<br>> I tried to add > outputfile.txt to the command like this:<br>><br>> for %1 in (*.wav) do flac -V --best "%1" > outputfile.txt<br>><br>> But this doesn't work.
<br><br>using > 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 "%1" 2> outputfile.txt<br><br>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.</blockquote><div><br><br>thanks a lot, it works! I was also wondering if writing everything to a file can slow down the FLAC encoding or is it as fast as writing everything to a command window?
<br>I was wondering if you know where I can find more information about the '2>' operator for the windows command line? I don't find anything about it (I usually don't use the command line). Where did you find information about it?
<br><br>thx 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;">Josh<br><br><br>__________________________________________________
<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around<br><a href="http://mail.yahoo.com">http://mail.yahoo.com</a><br></blockquote></div><br>