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");
}
}
what is the need of the Ajax?
How do you identify if jvm is 32-bit or 64-bit from java program?
How are this() and super() used with constructors in java programming?
What will happens if you opened Internet Explorer 4 times?
What is integer valueof?
different between exception and error? explaim check and uncheck exception
Explain parallel processing in java8?
How to prevent to create multiple objects of a java class?
What is ide with example?
What will happen if static modifier is removed from the signature of the main method?
what is the purpose of class "Object" which is base class for all classes?
What is Mutex (Mutual Exclusion Object) ?