|
Runwait()命令在Win7 64的系统无作用
在WIN7 64位系统下运行
这段命无效果,请大家帮忙啊!
RunWait(@ComSpec & " /c" & "bcdedit /delete {d138c606-f949-11de-ad4d-bc16fe7f3b31} /cleanup /f", "", @SW_HIDE)
RunWait(@ComSpec & " /c" & "bcdedit /create {d138c606-f949-11de-ad4d-bc16fe7f3b31} /d ""Dos system"" /application bootsector", "", @SW_HIDE)
RunWait(@ComSpec & " /c" & "bcdedit /set {d138c606-f949-11de-ad4d-bc16fe7f3b31} device partition=c:", "", @SW_HIDE)
RunWait(@ComSpec & " /c" & "bcdedit /set {d138c606-f949-11de-ad4d-bc16fe7f3b31} path \moidr.mbr", "", @SW_HIDE)
RunWait(@ComSpec & " /c" & "bcdedit /displayorder {d138c606-f949-11de-ad4d-bc16fe7f3b31} /addlast", "", @SW_HIDE)
RunWait(@ComSpec & " /c" & "bcdedit /timeout 10", "", @SW_HIDE) |
|