Mark, your solution didn't work. And it seems I created loads of confusions with my script, but the only reason is that I didn't post it in full. Here it is.
Set args = WScript.Arguments
Set fso = CreateObject("Scripting.FileSystemObject")
Set ws = CreateObject("WScript.Shell")...
Thanks Mark, but I think the issue is there because of spaces within the variables. It seems the string is passed to cmd up to the first space character only, so I'm getting the error: 'c:\Program' is not recognized as an internal or external command...
However, msgbox proves the string is...
Dear Gurus, I'm completely new to windows scripting, so my question might look a bit odd to you. Anyway I'm pulling my hair to find a solution for thing to work:
mp3splt = "c:\Program Files\mp3splt\mp3splt.exe"
args.Item(0) = c:\some file.mp3
ws.Run "%comspec% /k " & chr(34) & mp3splt &...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.