Launcher with windows path

0 views
Skip to first unread message

littlehouse

unread,
Aug 29, 2008, 4:21:17 AM8/29/08
to jmatter
I found that for windows path is better invoking the launcher with
this construct to avoid a white spaces problem.
Launcher.openFile(this.attachment.fileValue().getAbsoluteFile().toURI().toString());
where attachment is a FileEO obj

Eitan Suez

unread,
Aug 29, 2008, 10:05:47 AM8/29/08
to jma...@googlegroups.com
thanks.

i wonder whether revising this line in Launcher:
         cmds.add(String.format("command.com /C start %s", fileName));
to this:
         cmds.add(String.format("command.com /C start \"%s\"", fileName));

might not do the trick.

/ eitan
Reply all
Reply to author
Forward
0 new messages