vbs也要生成临时文件regset.ini再删除之- Set objFSO = CreateObject("Scripting.FileSystemObject")
- Set objTextStream = objFSO.OpenTextFile("regset.ini", 2, True)
- objTextStream.WriteLine "HKEY_CURRENT_USER\SOFTWARE\Microsoft\360 [2 8 19]"
- objTextStream.Close
- set objWsh = CreateObject("Wscript.Shell")
- objwsh.Run "regini regset.ini", 0, True
- objFSO.DeleteFile "regset.ini", True
复制代码
|