Mangix Posted March 31, 2007 Share Posted March 31, 2007 the code which i have right now is this.Set fs = CreateObject("Scripting.FileSystemObject")srcFolder = InputBox("Select the source folder.")If NOT fs.FolderExists(srcFolder) Then MsgBox("Error!, You need a path that exists!")ElseSet fo = fs.GetFolder(srcFolder)Set WshShell= CreateObject("WScript.Shell")mp3packer = WshShell.ExpandEnvironmentStrings("mp3packer")For Each x in fo.files WshShell.Run(mp3packer & " " & "-z -t -s " & x)NextEnd Ifthe script runs without any errors. although when it runs mp3packer, it shows some kind of failiure on the consoles that keep popping up. the end result of the command line that the script does should be something like mp3packer -z -t -s "C:\test\test.mp3"comments would be most appreciated Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now