Runtime.getRuntime().exec()..What is Wrong?????
807606Jan 8 2007 — edited Feb 28 2007Hi Friends,
I want to open a Excel file through Runtime.getRuntime.exec() command, when I'm doing :
Runtime.getRuntime().exec("cmd /C C:\\xyz.xls'");
It is opening xyz.xls file fine but when i'm doing
Runtime.getRuntime().exec("cmd /C '"+ filename +"'"); where filename is equal to C:\xyz.xls it is not working.
Any one has any idea about it.....Please help me;
Thanks in advance.
Raviji