------ Forwarded message ------
              Von: James Brundage <[EMAIL PROTECTED]>
          Betreff: Roving Lame
            Datum: Thu, 27 Jun 2002 17:09:39 -0700
               An: [EMAIL PROTECTED]
       Message-ID: <[EMAIL PROTECTED]>

Hey.. I'm a sys admin @ work and we've got a rather sizeable 
(about 15 GB) share set up, with the large problem being that 
many are at unpredictable CBR rates... some up to 320 while 
having been mastered from an audiotape... with this in mind I 
wrote a Roming Lame script for Windows using VBS and 
BAT.

Wondered if you'd like to have a look at it, or perhaps put it 
on the site as I'm sure many other people would love to use 
Lame for such collection standarization.

The scripts are below, not attached:

The VBS:

Set FSO = CreateObject("Scripting.FileSystemObject")
Set f = FSO.GetFolder("C:\rovinglame\")
Set fc = f.Files
Set WshShell = WScript.CreateObject("WScript.Shell")

For Each fl in fc
        If (Right(fl.name,4) = ".mp3") Then
                WshShell.Run "lamer.bat " & Chr(34) & 
fl.name & Chr(34), 1,True
        End If
Next

The BAT

@echo off
lame --mp3input -b:128 %1
move  /Y %1.mp3 %1

Enjoy.





_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to