dcsimg
Java
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anish_Koshy
Posted On:   Friday, September 30, 2005 10:40 AM

How can i call a bat file from a java program

Re: Java

Posted By:   Anonymous  
Posted On:   Friday, September 30, 2005 01:24 PM

Hello,





You can launch native program ( .bat files for Windows, .sh files for Unix, etc...) by using : Runtime.exec()





Calling this method results in having a Process object, that can be use to obtains the resultCode of the native command, or access the standard output stream, aso...





CU

Lionel

About | Sitemap | Contact