After looking around for 1/2 day I found the scripting capabilities of dMC.
Only 3 edits needed to this script to get it to work for you!
Assumes you have the right encoders in the right place.
Hope everyone finds this useful! Enjoy and ask questions.
-Ross Warren
Only 3 edits needed to this script to get it to work for you!
Assumes you have the right encoders in the right place.
Hope everyone finds this useful! Enjoy and ask questions.
-Ross Warren
Code:
dMC-RDC.vbs
'dMC Recursive Directory Conversion
'Script by: Ross Warren, [email]rossw@woodhome.com[/email]
'
' Only 3 Changes that are needed are below
'
Rootsource= "C:\Move\Temp\FLAC"
SourceDrive = "D:\"
DestFormat = "FLAC"
'
' No Edits Needed Below this line
'
Set fso = CreateObject("Scripting.FileSystemObject")
Set dMC = CreateObject("dMCScripting.Converter")
'dMC Specific Settings
dMC.VolumeNormalize = False
dMC.PreserveTags = True
dMC.DeleteSourceFiles = False
dMC.ConvertToFolder = True
ConvertSubfolders fso.GetFolder(SourceDrive)
Sub ConvertSubFolders(Folder)
For Each Subfolder in Folder.SubFolders
ConvertSubFolders(fso.GetFolder(Subfolder))
Next
For Each objFile in Folder.Files
dMC.AddFromToFiles (Folder & "\" & objFile.Name), _
(RootSource & "\" & objFile.ParentFolder.ParentFolder.Name & "\" _
& objFile.ParentFolder.Name & "\" & fso.GetBaseName(objfile))
Next
Call dMC.GoConversion(DestFormat, True, False, True, False)
End Sub


Comment