Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + "C:\\sample.exe");
using this code I have open an exe file from java....

Now I want to open the same exe by passing two parameters....open a C source code and a file to redirect the output....

How can I do that?