|
9#
楼主 |
发表于 2021-6-2 17:35:30
|
只看该作者
提取相文件列表,参考来源于wimbuilder2 ,欢迎补充 缺失 文件
- Set Windows=D:\Win10Images\Windows
- Set /p Languages=Enter multiple languages (ex: zh-cn):
- Set log=D:\xcopy.log
- Set windir=D:\NewImages
- call :Explorer
- goto :EOF
- :Explorer
- xcopy /V /F /H /O /Y "%windows%\explorer.exe“ %windir%\ >%log%
- xcopy /V /F /H /O /Y "%windows%\%Languages%\explorer.exe.mui" %windir%\%Languages%\ >>%log%
- ::@指定路径为\Windows\System32\ 才会自动提取 \Windows\SystemResources\%File%.mun \Windows\System32\%Languages%\%File%.mui
- ::@\Windows\System32\ \Windows\SystemResources\*.mun \Windows\System32\%Languages%\*.mui
- @REM 如何循环下面的文件列表,并提取相应的文件到指定目录中
- Set File=clip.exe
- AppHelp.dll,AppResolver.dll,atlthunk.dll,avifil32.dll,Clipc.dll
- control.exe,comsvcs.dll,CoreMessaging.dll,CoreUIComponents.dll,cscapi.dll
- ctfmon.exe,desk.cpl,edputil.dll
- ELSCore.dll,IconCodecService.dll,imageres.dll,InfDefaultInstall.exe
- InputSwitch.dll,mfperfhelper.dll
- MrmCoreR.dll,mscories.dll,MsCtfMonitor.dll,msutb.dll,mycomput.dll,policymanager.dll,pdh.dll,PhotoMetadataHandler.dll,pnputil.exe
- ProximityCommon.dll,ProximityCommonPal.dll,ProximityService.dll,ProximityServicePal.dll
- rmclient.dll,sendmail.dll
- SettingSyncCore.dll,SharedStartModel.dll,ShellCommonCommonProxyStub.dll,shfolder.dll,shutdown.exe
- StartTileData.dll,sti.dll,stobject.dll,StorageUsage.dll,systemcpl.dll,TDLMigration.dll,TextInputFramework.dll,thumbcache.dll
- twinapi.appcore.dll,twinapi.dll,twinui.appcore.dll,twinui.pcshell.dll,UIAnimation.dll,UIRibbon.dll,UIRibbonRes.dll
- Windows.Gaming.Input.dll,Windows.Internal.Shell.Broker.dll,Windows.Networking.Connectivity.dll,WorkFoldersShell.dll,wpdshext.dll,zipfldr.dll
- windows.immersiveshell.serviceprovider.dll
- credssp.dll,mblctr.exe,TextShaping.dll
- Windows.Globalization.dll
- call :mui
- call :xcopy
- goto :EOF
- :mun
- xcopy /V /F /H /O /Y "%windows%\SystemResources\%File%.mun" %windir%\SystemResources\ >>%log%
- goto :EOF
- :mui
- xcopy /V /F /H /O /Y "%windows%\system32\%Languages%\%File%.mui" %windir%\System32\%Languages%\ >>%log%
- goto :EOF
- :xcopy
- xcopy /V /F /H /O /Y "%windows%\system32\%File%" %windir%\System32\ >>%log%
- goto :EOF
复制代码
|
|