How to extract the folder by excluding one subfolder
Posted: Thu Nov 21, 2024 7:09 am
I want to extract the EFI folder without WINDOWS\Boot\EFI\Microsoft\Boot\Fonts subfolder from install.wim file - now I do it, but there is a one warning:
log:
script.cmd
Should I remove the second line and it will be okay?
It can't be simplified?
log:
Code: Select all
Extracting EFI folder from install.wim without Fonts
[WARNING] Ignoring Windows NT security descriptors of 3 files
[WARNING] Ignoring DOS names of 3 files
Extracting file data: 1668 KiB of 1668 KiB (100%) done
Done extracting files.
[WARNING] No matches for path pattern "WINDOWS\Boot\EFI\Microsoft\*.*"
Done extracting files.
[WARNING] Ignoring Windows NT security descriptors of 2 files
[WARNING] Ignoring DOS names of 2 files
Extracting file data: 787 KiB of 787 KiB (100%) done
Done extracting files.
[WARNING] Ignoring Windows NT security descriptors of 1 files
[WARNING] Ignoring DOS names of 1 files
Extracting file data: 20 KiB of 20 KiB (100%) done
Done extracting files.Code: Select all
echo:
echo Extracting EFI folder from install.wim without Fonts
echo:
wimlib-imagex extract %drive%\sources\install.wim 1 WINDOWS\Boot\EFI\Boot --dest-dir=%efi%\EFI
wimlib-imagex extract %drive%\sources\install.wim 1 WINDOWS\Boot\EFI\Microsoft\*.* --dest-dir=%efi%\EFI\Microsoft --nullglob
wimlib-imagex extract %drive%\sources\install.wim 1 WINDOWS\Boot\EFI\Microsoft\Boot\*.* --dest-dir=%efi%\EFI\Microsoft\Boot
wimlib-imagex extract %drive%\sources\install.wim 1 WINDOWS\Boot\EFI\Microsoft\Boot\BCC --dest-dir=%efi%\EFI\Microsoft\BootIt can't be simplified?