感谢您提供 DrvIndex,一个有用的实用程序。 您可以在 x32 版本中以与在 x64 中相同的方式执行此操作,以便脚本不仅可以使用内部 CAB 存档中的 7z.exe,还可以使用安装在系统上的 7z.exe。 无论如何,7z.exe 在 99% 的 WinPE 中都可用。 提前致谢!
Thank you for DrvIndex, a useful utility. And you can do it in the x32 version in the same way as in x64, so that the script can use 7z.exe not only from the internal CAB archive, but also installed on the system. Anyway, 7z.exe is available in 99% of WinPE. Thanks in advance!
从已安装的驱动程序中添加清理存储库也很好,至少可以选择使用一个键(例如,-x)。 这将减少 WinPE 中的内存消耗。
It would also be nice to add cleaning the repository from installed drivers, at least optionally, with a key (for example, -x). This will reduce memory consumption in WinPE.
FORX @%systemroot%\system32\DriverStore\FileRepository\*.*,&&te,,TEAM SITE ?&&de=FATTR,%&te%|IFEX $%&de%=1,FILE --force %&te%