|
本帖最后由 youxia1220 于 2025-2-8 13:04 编辑
文本文件list.txt盘符为E盘(这个随意,可以修改bat文件中文本文件路径),为简单起见,只查找C:\windows\system32\目录下dll,exe,cpl等扩展名文件在C:\windows\system32\ch-ZN文件夹中同名后缀为mui文件,若有,返回mui文件列表并生成mui.txt文本文件.
如有可能,给定文本文件list.txt不局限于C:\windows\system32\一个路径,而是包含多个路径,对于文本文件中的任意文件,能否首先查找同级目录下是否存在zh-CN文件夹,若有,在zh-CN文件夹中查找同名后缀为mui文件, 返回mui文件路径文件名并生成mui.txt文本文件.
list.txt文本文件示例:
c:\Windows\explorer.exe
c::\Windows\Branding\Basebrd\basebrd.dll
C:\Windows\System32\drivers\acpiex.sys
c:\Windows\System32\Windows.StateRepositoryBroker.dll
返回的mui.txt文件示例:
c:\Windows\zh-cn\explorer.exe.mui
c:\Windows\Branding\Basebrd\zh-cn\basebrd.dll.mui
C:\Windows\System32\drivers\zh-cn\acpiex.sys.mui
c:\Windows\System32\zh-cn\Windows.StateRepositoryBroker.dll.mui |
|