Hi,
Can someone tell me why when I do this :
start->run-> \\someMachineOnNetwork\someFolder\someFile.txt
it works perfectly
But when I try the same using a signed applet
command = "\\\\someMachineOnNetwork\\someFolder\\someFile.txt";
Runtime rt = Runtime.getRuntime();
Process child = rt.exec(command);
I have an IOException
Thanks
Thomas Fritsch - 30 Jun 2006 13:32 GMT
> But when I try the same using a signed applet
>
> command = "\\\\someMachineOnNetwork\\someFolder\\someFile.txt";
Change the line above to
command =
"cmd.exe /c \\\\someMachineOnNetwork\\someFolder\\someFile.txt";
> Runtime rt = Runtime.getRuntime();
> Process child = rt.exec(command);
>
> I have an IOException

Signature
Thomas
bchihab@gmail.com - 30 Jun 2006 20:21 GMT
Worked perfectly
Thanks!
> > But when I try the same using a signed applet
> >
[quoted text clipped - 6 lines]
> >
> > I have an IOException