哪位老大能帮我把下面这段批处理该些成au3脚本
我试了N次老出错 能力有限
希望有人能抽点时间帮我写下 不胜感激net stop sppsvc /y
if not exist %windir%\system32\slmgr.vbs goto end
if not exist data\bootinst.exe goto end
set VLFILE=%1
if {%1} == {} set VLFILE=Certificate
if not exist data\%VLFILE%.xrm-ms goto end
for %%A in (C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) do (
if exist %%A\bootmgr (
if not exist %%A\setup.exe (
echo.
echo Installing to drive %%A
echo.
if exist %%A\menu.lst attrib %%A\menu.lst -h -r -s
if exist %%A\menu.lst ren %%A\menu.lst menu_lst.bak
if exist %%A\grldr attrib %%A\grldr -h -r -s
copy data\grldr %%A\grldr
attrib %%A\grldr +h +s +r
data\bootinst /nt60 %%A
)
)
)
if exist data\%VLFILE%.xrm-ms cscript %windir%\system32\slmgr.vbs -ilc %windir%\system32\data\%VLFILE%.xrm-ms
if exist data\%VLFILE%.xrm-ms cscript %windir%\system32\slmgr.vbs -ipk CQBVJ-9J697-PWB9R-4K7W4-2BT4J
|