Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


public class BatchTest
{
public static void main(String[] args)
{
Runtime run = Runtime.getRuntime();
try
{
Process p = run.exec("cmd start /c
D:/test.bat");
System.out.println(p.exitValue());
}
catch (Exception e)
{
e.printStackTrace();
}
System.out.println("FINISHED");
}
}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What about anonymous inner classes in java?

0 Answers  


how to print hello world every second till i have pressed enter key ???

1 Answers   SAP Labs,


What is return code?

0 Answers  


Can I override protected method in java?

0 Answers  


In treeset we add same object ...what will be the out put

3 Answers  


What is an example of a boolean?

0 Answers  


Is 64bit faster than 32 bit?

0 Answers  


Which is bigger double or float?

0 Answers  


Which class has no duplicate elements?

8 Answers  


What is the difference between state-based unit testing and interaction-based unit testing?

0 Answers  


Can we declare the main method of our class as private?

0 Answers  


What is “try and catch” in java

2 Answers  


Categories