Re: Calling Windows Exe from within Java prog
From: Kevin Passey (kevin_at_kdpsoftware1nospm.demon.co.uk)
Date: 10/15/04
- Previous message: Karsten: "Themes/skins"
- In reply to: Elliott Back: "Re: Calling Windows Exe from within Java prog"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 15 Oct 2004 16:49:37 +0100
Thanks Guys,
I did it like this:-
String cmdOut = commandLine.toString();
Runtime.getRuntime().exec( cmdOut );
Kevin
"Elliott Back" <elliott@cornell.edu> wrote in message
news:jLebd.296141$bp1.215368@twister.nyroc.rr.com...
> Kevin Passey wrote:
> > Hi can anybody help me here -
> >
> > I have a command string that I'm building in Java to call a windows
program.
> >
> > Can anybody point me to some example code.
> >
> > Thanks
> >
> > Kevin
> >
> >
>
> See JNI. http://java.sun.com/docs/books/tutorial/native1.1/
>
> --
> Thanks,
> Elliott C. Bäck
> ---------------------------------
> www.elliottback.com/blog/
> www.spreadIE.com
- Previous message: Karsten: "Themes/skins"
- In reply to: Elliott Back: "Re: Calling Windows Exe from within Java prog"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|