Choose Your Language

Thursday 11 July 2013

Java program to open control panel

import java.io.IOException;

/**
 *
 * @author Aravind Sankaran
 */
public class ControlPanel {
     public static void main(String[] abc){
        try{
             Runtime.getRuntime().exec("control.exe");
            }
        catch(IOException ioe){
            System.err.println(ioe);           
        }
    }
}

No comments:

Post a Comment