Jump to content

Recommended Posts

Posted

While I was on the web trying to get a piece of code to work

for %%i in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( if exist "%%i:\fartyname.txt" set usbletter=%%i )

Dism /apply-image /imagefile:%usbletter%:\sources\install.wim /index:6 /ApplyDir:C:\

bcdboot c:\windows /s S: /f all

I keep getting an error that seems to point to the [S:]

https://commandmasters.com/commands/bcdboot-windows/

/s S:: Denotes the system partition where the boot files should be installed.

Is this where the boot file are copied or where they are Originated?
/f all: This argument instructs bcdboot to prepare the boot files to support UEFI firmware type.
C:\Windows: Again, this specifies the Windows directory from which to copy the required boot files. Should this be where they are originally [C:\Windows]?

Should the S: Partition be active??

John


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...