>Have you verified what does lcFileName containt? Perhaps you need to pass the file name with the full path?
>Also, you may want to examine the error code from ShellExecute - it provides the reason why the command fails.
Yes, that's not an issue. The external executable has a config file that tells it where to look for the files to be processed. My impression is that ShellExecute doesn't produce an error, just that the external executable doesn't produce any output, but I will check that further.
Ray Roper