村牛 发表于 2010-7-19 18:34:03

麻烦帮忙将个批处理改写

哪位老大能帮我把下面这段批处理该些成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

3mile 发表于 2010-7-19 18:40:46

先上你写的源码吧。

村牛 发表于 2010-7-19 18:44:47

写不成的东西都删了{:face (229):}乱七八糟
学什么都快
就是学语言智商相当于0
页: [1]
查看完整版本: 麻烦帮忙将个批处理改写