How to Hide console window(During execution of batch file)

  • Follow


I am running a batch file abc.bat through my java class using Runtime
Class which will start my application. While it is executing batch
file it starts the Console window which i don't want to show. How to
Hide console window.

Runtime.getRuntime().exec("C:\\asit\\abc.bat");

Regards
Asit
0
Reply hi_asit 9/30/2003 12:40:02 PM

"Asit" wrote:

> I am running a batch file abc.bat through my java class using Runtime
> Class which will start my application. While it is executing batch
> file it starts the Console window which i don't want to show. How to
> Hide console window.

Try a later java VM version. This is supposed to be fixed, but I 
haven't heard any reports that it indeed is now fixed, and I haven't 
tried myself.
0
Reply Harald 9/30/2003 5:44:22 PM


1 Replies
1490 Views

(page loaded in 0.01 seconds)

Similiar Articles:













7/22/2012 8:01:17 AM


Reply: