Hi all,

I need to start an external application from within my program. This is usually no big deal using shell(), but in this case I need to set the working directory first.

Can someone help out with that? The equivalent batch file would look like:

cd "\Program Files\externalapp"
externalapp.exe

Normally, I'd do the batch file thing, but my program is a frontend for several programs, so I'd have to create several batch files, which would be counterproductive.

Thanks,
Gabe