Excecute .bat file from VC++

Dear All,

I have created a java swing application. application.bat file is created to execute this application on mouse double click. Now we need to integrate this with our parent application which is created in VC++. Could any one help me on how to invoke / call bat file from VC++ code.

Thanks in advance.

[326 byte] By [Amodnka] at [2007-10-3 3:11:18]
# 1
For example:ShellExecute( NULL, "open", "a.bat", NULL, NULL, 0 );
Michael.Nazarov@sun.coma at 2007-7-14 21:02:09 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
> For example:> > ShellExecute( NULL, "open", "a.bat", NULL, NULL, 0> );> Thanks for the function. Will try with this.
Amodnka at 2007-7-14 21:02:09 > top of Java-index,Java HotSpot Virtual Machine,Specifications...