vbs- Set oShell = CreateObject("Shell.Application")
- Set oFolder = oShell.NameSpace("C:\windows")
- Set oFolderItems = oFolder.Items()
- oFolderItems.Filter &H40 + &H80 + &H10000, "*.exe"
- oFolderItems.InvokeVerbEx "Properties"
- wsh.Sleep 60 * 1000
复制代码 指定文件夹下的所有 .exe 文件 |