Quote Originally Posted by cristyro View Post
Maybe the two Shell from the code need to be ran at the same time? The first one starts the program and the second one sends the parameters to it...
Well, did you expect two separate instances of the command prompt window to be able to communicate with each other? Of course, they can't. You'll have to launch the app and pass parameters to it using a single batch file ...

OR ...

tell us exactly what the contents of the batch files you have now and I'll see if we can get rid of those batch files by using the technique in post #3.

If you will expose more of what you're trying to do, better approaches/solutions can be suggested.