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



Subscribe to Tutorials

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. Your explanation is perfectly clear and not in nee
View Tutorial          By: Percy at 2009-06-08 14:14:39

2. thanks i am fresher to j2me i understand the conce
View Tutorial          By: anusha at 2010-04-20 00:32:10

3. FileOutputStream will create the file if it does n
View Tutorial          By: Peter at 2012-02-07 13:25:16

4. could you guys maybe give an example using a 3 dim
View Tutorial          By: Steve at 2011-06-08 12:14:13

5. can you give the program about the fast food by us
View Tutorial          By: grace at 2008-09-22 00:48:37

6. Can anybody help me to send the code for email sen
View Tutorial          By: satendra at 2010-03-23 02:46:18

7. Many thanks!
View Tutorial          By: Bego at 2014-07-10 08:48:02

8. i did the same thing..but it s nt working.. :(
View Tutorial          By: dEviL at 2008-12-03 10:20:31

9. good but very simple program.........
View Tutorial          By: vipul at 2010-03-25 00:33:54

10. very nice explanation of STATIC....HAY man , you j
View Tutorial          By: harkeet at 2012-12-18 17:48:43