【发布时间】:2016-06-06 23:15:31
【问题描述】:
您好,我试图制作脚本以从闪存驱动器执行程序,但它不起作用,这是我的脚本
Set wshShell = wScript.CreateObject("wScript.Shell")
Set objFSO = Createobject("Scripting.FileSystemObject")
For Each objDrive In objFSO.Drives
If objDrive.DriveType = 1 Then
wshShell.run objDrive.DriveLetter & "\ \Autoit\Scripts\Google Chrome\Delete.vbs"
End If
Next
【问题讨论】:
标签: vbscript