try { Runtime.getRuntime().exec("explorer E:"); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); }