Comment on Tutorial - Execute system commands in a Java Program By Rajan



Comment Added by : saranya

Comment Added at : 2014-10-30 05:36:36

Comment on Tutorial : Execute system commands in a Java Program By Rajan
Runtime rt=Runtime.getRuntime();
String cmd[]={"cmd.exe", "/C", "c:\\windows\\paint.exe"};
rt.exec(cmd);


View Tutorial



Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Hi, i am new java, and i want to become gud develo
View Tutorial          By: amit at 2012-02-16 12:21:25

2. How to connect Oracle java cloud service database(
View Tutorial          By: prakash at 2015-08-27 16:19:04

3. nice intelligent work
View Tutorial          By: santosh at 2010-11-28 01:18:50

4. thanks ..it was really helpful.
View Tutorial          By: jay at 2012-03-19 04:17:14

5. Thanks a lot for the code...
thats working

View Tutorial          By: Rahul at 2008-06-28 14:16:10

6. Easy to understand.......
View Tutorial          By: Priya at 2013-02-15 10:55:52

7. the code works fine,i also tried the write code.th
View Tutorial          By: Joy at 2013-11-25 05:24:23

8. Is site ki badolat main C++ mein paas ho gya !
View Tutorial          By: sharif at 2011-08-06 10:06:31

9. thanks for giving the example of abstract class...
View Tutorial          By: mahesh at 2010-04-11 08:20:45

10. gud example, we welcome you
View Tutorial          By: jasim Khalid almurakh meherbani at 2010-09-20 03:14:25