Hello,

I am trying to create a program that downloads audio files via FTP, converts the audio to mp2 if necessary and copies them to a certain directory for consumption by our automation system. (I am a radio station engineer.)

I am using the open source converter FFMpeg to convert audio files to mp2. This is a command line exectuted program. Here is the command line that I use to execute the external program with the input and output audio files at the root level:

cmd.exe /k ""C:\New Folder\ffmpeg.exe" -i "C:\Test.mp3" -y "C:\Test.mp2""

This command line works correctly whether I am using Shell() or System.Diagnostics.Process (Process) to execute the external program. I am going the Process route so I can know when the conversion has finished.

Now, I really don't want to use the root directory for this but when I go below root with this line using Process the external program will not execute:

cmd.exe /k ""C:\New Folder\ffmpeg.exe" -i "C:\New Folder\Test.mp3" -y "C:\New Folder\Test.mp2""

Can anyone tell me why that line will not work with Process though it works as expected with Shell()? I can't figure out how to stop the external program to get some feedback as to what its problem is.

Thanks