Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Running file/program from within java program

Hey,
Was just wondering if anyone could help me.
I have a program that uses xerces xml parser to extract content from an xml file and that works fine.
I want to do the same with a HTML file. I have HTML Parser and it has a little run file thing in its bin folder called "stringextractor" which runs fine when i access it using command line.(All you do is go into the bin folder and type stringextractor [page you want processed]). But id like to be ble to run that file from within my java program.

Is there anyway to do that. Like for example to read a text file in you use buffered reader, is there an equivalent for program files?

Thanks, Kate :WAVE:
[685 byte] By [KatyMc238] at [2007-11-11 10:14:23]
# 1 Re: Running file/program from within java program
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
NewUniverse at 2007-11-11 22:31:49 >