How to open word document with /m "Macro argument" from java/or command-line without to specifi winw
Posted
by Milan
on Stack Overflow
See other posts from Stack Overflow
or by Milan
Published on 2010-03-31T15:58:13Z
Indexed on
2010/03/31
16:03 UTC
Read the original article
Hit count: 335
I want to do the next thing:
String[] cmd = {"cmd","/c","c:\\Program Files (x86)\\Microsoft Office\\Office12\\WINWORD.exe","/mOpenPage","c:\\Navodilo.doc"};
Process proc = Runtime.getRuntime().exec(cmd);
But, without to specify the winword.exe path... Ideas?
© Stack Overflow or respective owner