On Tue, 02 May 2006 09:15:16 +0200 Alexandre Touret
<atouretNOSPAM@free.fr> waved a wand and this message magically
appeared:
> > I Am A Java Programmer. I Am Developing A Program Which Will Call A
> > Batch File And I Have Added That Batch File In Jar. But It Is Not
> > Working. It Is Working Very Well Outside Jar File.
> > Is Batch File Not Callable From Within Jar File ? If Yes What Else
> > Can I do ?
You Don't Need To Capitalise Every First Letter In Each Word, Just The
First Letter In A Sentence Will Be Enough, Thank You.

Signature
http://www.munted.org.uk
Take a nap, it saves lives.
Badshah - 02 May 2006 09:50 GMT
Process p =
Runtime.getRuntime().exec(System.getProperty("user.dir")+"\\MySqlDBA\\Restore.bat
"+ Tdatabase.getText() + " " + Tuser.getText() + " " +
Tpassword.getText() + " " + Tpath.getText().trim());
p.waitFor();
This Is The Code I Am Using To Make Call To Batch File.
This Is Content Of Restore Batch File.
cd c:\program files\mysql\mysql server 5.0\bin
mysql %1 --user=%2 --password=%3 < %4