agentrfr
Executive Member
Howzit guys
I'm wondering if any of you know how to have a java program execute a windows cmd prompt.
Basically, I've got a php process to append a bunch (around 300 000) of .bin files to one massive .csv file. The php process works great, but I'm trying to make it user friendly for people other than nerds to use. I want to use Java to make a GUI, and then a drop down menu of dates and so on...
Anyway, the java program makes the String I need to run in the cmd prompt, but I want it to execute automaticly in window's cmd.
For example, I want the program to open a cmd terminal, then run the following
and then let that do its thing.
Or if any of you have a handy java based .csv builder lying around, I could use that too
I'm wondering if any of you know how to have a java program execute a windows cmd prompt.
Basically, I've got a php process to append a bunch (around 300 000) of .bin files to one massive .csv file. The php process works great, but I'm trying to make it user friendly for people other than nerds to use. I want to use Java to make a GUI, and then a drop down menu of dates and so on...
Anyway, the java program makes the String I need to run in the cmd prompt, but I want it to execute automaticly in window's cmd.
For example, I want the program to open a cmd terminal, then run the following
Code:
cd \php
php process_dukascopy_data.php EURUSD 200702 201008 EURUSD.csv
and then let that do its thing.
Or if any of you have a handy java based .csv builder lying around, I could use that too
Last edited: