// 设置开机自动启动的CMD命令
String autoRumCmd = "reg add HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run /v aa.exe /t REG_SZ /d F:\\project\\cc\\server\\aa.exe /f";
try {
Runtime.getRuntime().exec( autoRumCmd );
} catch (IOException e) {
String autoRumCmd = "reg add HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run /v aa.exe /t REG_SZ /d F:\\project\\cc\\server\\aa.exe /f";
try {
Runtime.getRuntime().exec( autoRumCmd );
} catch (IOException e) {