[vorbis] Slightly off-topic: question about DOS batch files

John Morton jwm at plain.co.nz
Sun Jan 6 22:00:50 PST 2002



On Monday 07 January 2002 18:05, Philip M. White wrote:
> Jack, thanks for your quick reply about my Comment question.
> This next question is slightly off-topic, but it pertains to encoding a
> directory of WAV files into Oggs.
>
> 	Right now I have 14 WAVs that I ripped from a CD... I made a [huge] batch
> file which specifies the name and track number of each WAV.  Unfortunately,
> I have to have the entire batch file on a single line, since it's a single
> call to oggenc.exe. This single line is 1057 characters long!  :-/ Is there
> any way to have an escape character, like the backslash on Unix/Linux, that
> would allow me to have multiple lines of batch file, but would be
> interpreted as a single line by DOS?  That would make it much easier to
> edit data of each track. If anyone knows about this, please tell me. 
> Thanks.

Give up on dos batch files and install either python or perl. ActiveState 
have some nice prepackaged binaries for each. Then grab a tutorial and hack 
away, or take one of the many existing perl/python rip/encode/tag scripts and 
tweak it to suit. This is almost certainly going to cause you less pain in 
the long run.

John

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list