954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

exec in java

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.

prateeksalian
Newbie Poster
1 post since Apr 2011
Reputation Points: 10
Solved Threads: 0
 

too late

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

me too

mKorbel
Veteran Poster
1,141 posts since Feb 2011
Reputation Points: 480
Solved Threads: 224
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: