Hello,

I try to run an ICA-Client from within my java program using the exec() 
method from java.lang.Runtime. Here a snipset of my code:

       String cmd = "/home/ica/jicasession -address:192.168.1.200 
-username:joe -password:joe 
\"-initialprogram:C:\\Office\\Word\\winword.exe C:\\docs\\1.doc";

       Runtime r = Runtime.getRuntime();
       r.exec(cmd);

When I run this, the ICA client starts, but instead of executing the 
whole initialprogram parameter it tries to execute C:\docs\1.doc.

Excecuting the above command on my console works fine.


Does anybody got a similar problems and knows how to solve it?

Thanks, Lars.




----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to