Skip to content

RequireFile

Homes32 edited this page May 14, 2022 · 2 revisions

RequireFile

RequireFile is an alias to the RequireFileEx,ExtractFile command.

Extract files and their .mui/mun files (if they exist) from Install.wim

Wildcards (?, *) are supported.

Syntax

RequireFile,<FilePath>[,NOMUI]

Arguments

Argument Description
FilePath Path to the file to extract relative to the root of Install.wim
NOMUI (Optional) Don't extract .mui files.

Return Codes

None.

Remarks

If you have multiple files to extract consider using RequireFileEx,AppendList as this will vastly improve extraction speed, as all files in the list can be extracted in one pass instead of one file at a time.

Hint: If you know the file to be extracted isn't localized you can save a some time by not checking for .mui files that don't exist.

Related

RequireFileEx

Examples

Example 1

Extract a single set of unlocalized files.


Echo,"Extracting..."
RequireFile,\ProgramData\Microsoft\User Account Pictures\user*.*,NOMUI