Process p = Runtime.getRuntime().exec("cmd /c md C:\\dudu " + "net share dudu=C:\\dudu");
this command create folder but the command not share the folder.