Thanks for ur reply.
I triied the following code to open word 2004 application
Runtime.getRuntime().exec("open /Applications/Microsoft Ofiice 2004/Microsoft Word")
But this is not opening the Word exe since the folder name "Microsoft Ofiice 2004"contains space in between.
How to go about this
Hi,
I tried the following,but it did not work
Runtime.getRunTime().exec("open /Applications/Microsoft\\Ofiice\\2004/Microsoft\\Word")
I tried this too ,but did not work
Runtime.getRunTime().exec("open /Applications/Microsoft Ofiice 2004/Microsoft Word/")
Can u pls code the correct way of using this
Runtime.getRunTime().exec("open /Applications/Microsoft\\ Office\\ 2004/Microsoft\\ Word.app");
Runtime.getRunTime().exec("open \"/Applications/Microsoft Office 2004/Microsoft Word.app\"");
String params[] = {
"open",
"/Applications/Microsoft Office 2004/Microsoft Word.app"
};
Runtime.getRunTime().exec(params);