I have written a script to mass-tag a large audio library. The tag info is stored in an Access database. I wrote a vba sub that invokes an FFmpeg command line.
newCmdStr = ffmpeg -i myFile.mp3 tag-info output.mp3
Shell ("cmd.exe /k " & newCmdStr)
Is there a way to determine if it runs correctly?
I tried printing the return
MsgBox(Shell(newCmdStr)),
but it seems to return a random number, I can't tell what indicates if the command worked.
The most likely error would be a file not found error, but there could be some other things. If it ran, I would log the filepath of the new file, if it failed I would note that.