Unanswered: lame.exe input and output files location
Does anyone know how to make lame.exe look in a variable location for the input wav file and the output mp3 file in my Access db?
I got as far as to make the file names variable. For the location it always takes MyDocuments. Putting the path in the string of the input and output file names is not working, when the path contains a space (C:\Program Files\MyProgram\MyMP3\)
Dim FileName As String
Dim path As String
Dim ShellStr As String
Sorry I did'nt understand the problem. I generally use a shell script with echo to logfile then you can see what happens in DOS.
Hope this helps, if not try more info or search this site there is so much here..... sorry just back from pub....... will look again tomorrow.
all I get is that the lame.exe is not working when the input and/or outputfile location contain a space. So, solved it by creating a "spaceless" path on the c: drive letting lame.exe work with that, then I copy the output file to where I want it with the filename I want. I'm sure there must be a better way, but this works fine in the meantime.
Why would I do that, as the filename is created after the lame.exe usage and is never going to be "lamed" again?
If the path and filenames created for "lame" as input/output files are renamed by someone for some reason, they will just be created again. I might even kill them at closing the database and recreate on opening.