Created
October 9, 2023 08:12
-
-
Save stevehansen/49fb349ee76da20cf29da1456655a07f to your computer and use it in GitHub Desktop.
Create a bootable Windows USB stick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM in this sample F: is the drive where the .iso is mounted, E: is the stick, it should be formatted as ntfs | |
REM copy over all files from the .iso to the stick | |
xcopy F:\*.* E: /s/e/f | |
REM make the stick bootable | |
F:\Boot\Bootsect /NT60 E: /force /mbr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment