Open File using EXE in Java April 18, 2013 Get link Facebook X Pinterest Email Other Apps String str1="\"";String str2="\""; String str=str1+sample.xls+"\\"+str2;Runtime runtime = Runtime.getRuntime();Process process = runtime.exec("C:\\Program Files\\Microsoft Office\\OFFICE11\\EXCEL.EXE "+str);; Comments
Comments
Post a Comment