BcdbootCommand.Builder
public class BcdbootCommand.Builder :
CliWrapCommandBase<CommandResult>.BuilderBase<BcdbootCommand, BcdbootCommand.Builder>
1. Constructors
1.1. Builder(string)
public Builder(string executablePath = "bcdboot.exe")
| Name | Type | Description |
|---|---|---|
executablePath |
string |
2. Properties
2.1. ArgumentSuffix
protected override string ArgumentSuffix { get; }
2.2. LongArgumentPrefix
protected override string LongArgumentPrefix { get; }
2.3. SingleCharacterArgumentPrefix
protected override string SingleCharacterArgumentPrefix { get; }
3. Methods
3.1. Build()
public override BcdbootCommand Build()
Returns: BcdbootCommand
3.2. BuildInternal(CliWrap.Command)
protected override BcdbootCommand BuildInternal(CliWrap.Command cliCommand)
| Name | Type | Description |
|---|---|---|
cliCommand |
CliWrap.Command |
Returns: BcdbootCommand
3.3. ConfigureUefiBoot(string, string)
Configures UEFI boot for a Windows installation.
public BcdbootCommand.Builder ConfigureUefiBoot(string windowsDir, string espDriveLetter)
| Name | Type | Description |
|---|---|---|
windowsDir |
string |
Path to the Windows directory (e.g. "W:\Windows"). |
espDriveLetter |
string |
Drive letter of the EFI System Partition (e.g. "S:"). |
Returns: BcdbootCommand.Builder