hi,

how to call exe file with some parameters from java and save the output of the exe file in a specified path.

Please let me know immediately..its urgent!!!

I am using the following code :
I want to save the file after running this DPAnalysis.exe on jan.xls into my file system.
The .exe file is running properly by taking jan.xls but not saving it anywhere .
Please help

Runtime.getRuntime().exec
("C:\\Program Files\\DP\\DPAnalysis.exe "+"E:\\xlsdata\\jan.xls");

Thanks in advance.

too late

me too

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.