<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Someone try this on a test music directory and see if this works in cmd.exe..... <br><br>cd c:\MusicDirectory<br>FOR /F "usebackq delims==" %i IN (`dir /B /S *.flac`) DO flac -t %i && flac -8V %i<br><br><br>I don't fully understand the syntax of FOR loops in dos.. The instructions seem a bit lacking..... Windows is a strange beast indeed.<br><br>Frank<br><br><blockquote><hr>From: russofris@hotmail.com<br>To: lists@whitehouse.org.nz; tranzedude@gmail.com<br>Subject: RE: [flac] re-encode tool win32<br>Date: Thu, 27 Sep 2007 21:15:06 -0700<br>CC: flac@xiph.org<br><br>
Under linux/bash, it would be something like....<br><br><br>cd /MusicDirectory<br>find . -type f -name "*.flac" -exec sh -c 'flac -t {} && flac -8V {}' \;<br><br>Or to simplify and not test each file before re-encode....<br><br>find . -type f -name "*.flac" -exec flac -8 {} \; -print<br><br>Can someone translate this into NTBatch? Basically, recursive "dir" *.flac files as a nested command into a for loop or something? I'd hate to suggest someone install cygwin just because I don't remember how to script in dos. No need for a "GUI" when you can one-line it.<br><br>Frank<br><br><br><br><br><br>> Date: Fri, 28 Sep 2007 14:50:27 +1200<br>> From: lists@whitehouse.org.nz<br>> To: tranzedude@gmail.com<br>> Subject: Re: [flac] re-encode tool win32<br>> CC: flac@xiph.org<br>> <br>> > does somebody know a re-encode tool for win32? So it must have a GUI to make<br>> > a list of FLAC files that need to be re-encoded to a newer flac version and<br>> > it must automatically re-encode the whole list of files (so like the flac<br>> > frontend but with re-encode support).<br>> <br>> I wouldn't mind one for Linux, either!<br>> <br>> Aaron<br>> _______________________________________________<br>> Flac mailing list<br>> Flac@xiph.org<br>> http://lists.xiph.org/mailman/listinfo/flac<br><br><hr>Connect to the next generation of MSN Messenger <a href="http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline" target="_blank">Get it now! </a>
</blockquote><br /><hr />Explore the seven wonders of the world <a href='http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>