' 不想电脑爆炸就别轻易使用全盘枚举 Dim exefiles As New List(Of String) For Each drive As IO.DriveInfo In IO.DriveInfo.GetDrives For Each fi As IO.FileInfo In drive.RootDirectory.GetFiles("*.exe", IO.SearchOption.AllDirectories) exefiles.Add(fi.FullName) Next Next 你现在还在问这种问题,怎么写资源管理器。